public class ImmediatePooled<T> extends Object implements org.xnio.Pooled<T>
Constructor and Description |
---|
ImmediatePooled(T value) |
public ImmediatePooled(T value)
public void discard()
discard
in interface org.xnio.Pooled<T>
public void free()
free
in interface org.xnio.Pooled<T>
public T getResource() throws IllegalStateException
getResource
in interface org.xnio.Pooled<T>
IllegalStateException
public void close()
close
in interface AutoCloseable
close
in interface org.xnio.Pooled<T>
Copyright © 2017 JBoss by Red Hat. All rights reserved.