XNIO API 3.1.0.Beta1

org.xnio
Class Closer

java.lang.Object
  extended by org.xnio.Closer
All Implemented Interfaces:
Runnable

public final class Closer
extends Object
implements Runnable

A Runnable that closes some resource.


Constructor Summary
Closer(Closeable resource)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Closer

public Closer(Closeable resource)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

XNIO API 3.1.0.Beta1

Copyright © 2010 JBoss, a division of Red Hat, Inc.