use of org.voltcore.utils.DeferredSerialization in project voltdb by VoltDB.
the class NIOWriteStream method shutdown.
/**
* Free the pool resources that are held by this WriteStream. The pool itself is thread local
* and will be freed when the thread terminates.
*/
@Override
synchronized void shutdown() {
super.shutdown();
DeferredSerialization ds = null;
while ((ds = m_queuedWrites.poll()) != null) {
ds.cancel();
}
}
Aggregations