public void stop() { LogManager.logDetail( LogConstants.CTX_DQP, "Stopping BufferManager using", bufferDir); // $NON-NLS-1$ bufferMgr.shutdown(); // Delete the buffer directory if (bufferDir != null) { cleanDirectory(bufferDir); bufferDir.delete(); } }
public long getReadAttempts() { return bufferMgr.getReadAttempts(); }
public long getCacheWriteCount() { return bufferMgr.getWriteCount(); }
public long getCacheReadCount() { return bufferMgr.getReadCount(); }
public long getHeapMemoryInUseByActivePlansKB() { return workingMaxReserveKb - bufferMgr.getReserveBatchBytes() / 1024; }
public long getHeapCacheMemoryInUseKB() { return bufferMgr.getActiveBatchBytes() / 1024 + workingMaxReserveKb - bufferMgr.getMaxReserveKB(); }