use of com.swiftmq.impl.store.standard.cache.po.Close in project swiftmq-ce by iitsoftware.
the class ShrinkProcessor method close.
public void close() {
if (ctx.traceSpace.enabled)
ctx.traceSpace.trace(ctx.storeSwiftlet.getName(), toString() + "/close ...");
Semaphore sem = new Semaphore();
pipelineQueue.enqueue(new Close(sem));
sem.waitHere();
pipelineQueue.close();
if (ctx.traceSpace.enabled)
ctx.traceSpace.trace(ctx.storeSwiftlet.getName(), toString() + "/close done");
}