voldemort.store.readonly.io
Class Closer

java.lang.Object
  extended by voldemort.store.readonly.io.BaseCloser<java.io.Closeable>
      extended by voldemort.store.readonly.io.Closer
All Implemented Interfaces:
java.io.Closeable

public class Closer
extends BaseCloser<java.io.Closeable>
implements java.io.Closeable


Field Summary
 
Fields inherited from class voldemort.store.readonly.io.BaseCloser
delegates
 
Constructor Summary
Closer()
           
Closer(java.io.Closeable... delegates)
           
Closer(java.util.List delegates)
           
 
Method Summary
 void close()
           
 boolean closed()
           
 boolean isClosed()
           
protected  void onDelegate(java.io.Closeable delegate)
           
 
Methods inherited from class voldemort.store.readonly.io.BaseCloser
add, add, exec, executed, setCause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Closer

public Closer()

Closer

public Closer(java.util.List delegates)

Closer

public Closer(java.io.Closeable... delegates)
Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Throws:
java.io.IOException

closed

public boolean closed()

isClosed

public boolean isClosed()

onDelegate

protected void onDelegate(java.io.Closeable delegate)
                   throws java.io.IOException
Specified by:
onDelegate in class BaseCloser<java.io.Closeable>
Throws:
java.io.IOException


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu