@Singleton public class Closer extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
static class |
Closer.State |
Constructor and Description |
---|
Closer() |
public void addToClose(Closeable toClose)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public Closer.State getState()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.