Top Description Fields Constructors Methods
org.xnio

public final Class Closer

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable
Imports
java.io.Closeable

A Runnable that closes some resource.

Field Summary

Modifier and TypeField and Description
private final Closeable

Constructor Summary

AccessConstructor and Description
public
Closer(final Closeable resource)

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

resourceback to summary
private final Closeable resource

Constructor Detail

Closerback to summary
public Closer(final Closeable resource)

Method Detail

runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.