private class TemporaryBuffer.Multiplexer extends java.lang.Object implements Finalizable
TransactionManager to be
notified when its enclosing buffer's scope is closing. This drives
cleanup of the backing temp table, which can take one of two forms:
| Constructor and Description |
|---|
Multiplexer(Persistence.Context ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleted()
Provides a notification that the external program in which the object is registered is
being deleted and the object's reference may be lost after this method is called.
|
void |
finished()
Cleans up the backing temp table by either dropping it (if no other
buffers are using it any longer), or by removing this buffer's
records from it.
|
void |
iterate()
No-op.
|
void |
retry()
No-op.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitentry, initFailure, weightMultiplexer(Persistence.Context ctx)
ctx - Persistence context for transaction management.public void iterate()
iterate in interface Finalizablepublic void retry()
retry in interface Finalizablepublic void finished()
finished in interface Finalizablepublic void deleted()
This implementation does nothing.
deleted in interface Finalizable