protected abstract class BufferManager.CloseableBuffer extends Object implements BufferManager.Buffer
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected boolean |
onHeap |
Modifier | Constructor and Description |
---|---|
protected |
CloseableBuffer(String name,
boolean onHeap) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the buffer and release all resources.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmpty, size
protected final String name
protected final boolean onHeap
protected CloseableBuffer(String name, boolean onHeap)
public void close()
BufferManager.Buffer
close
in interface AutoCloseable
close
in interface BufferManager.Buffer
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.