/** * This method *must* be called in the finalizer of every object. It ensures * that any necessary cleanup work is done in the event that the object goes * out of scope within a transaction. */ protected void terminate () { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::terminate() for object-id " + get_uid()); } cleanUp(); super.terminate(); }
/** * This method *must* be called in the finalizer of every object. It ensures * that any necessary cleanup work is done in the event that the object goes * out of scope within a transaction. */ protected void terminate () { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::terminate() for object-id " + get_uid()); } cleanUp(); super.terminate(); }
/** * This method *must* be called in the finalizer of every object. It ensures * that any necessary cleanup work is done in the event that the object goes * out of scope within a transaction. */ protected void terminate () { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::terminate() for object-id " + get_uid()); } cleanUp(); super.terminate(); }
/** * This method *must* be called in the finalizer of every object. It ensures * that any necessary cleanup work is done in the event that the object goes * out of scope within a transaction. */ protected void terminate () { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::terminate() for object-id " + get_uid()); } cleanUp(); super.terminate(); }
/** * This method *must* be called in the finalizer of every object. It ensures * that any necessary cleanup work is done in the event that the object goes * out of scope within a transaction. */ protected void terminate () { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::terminate() for object-id " + get_uid()); } cleanUp(); super.terminate(); }
/** * This method *must* be called in the finalizer of every object. It ensures * that any necessary cleanup work is done in the event that the object goes * out of scope within a transaction. */ protected void terminate () { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::terminate() for object-id " + get_uid()); } cleanUp(); super.terminate(); }
/** * This method *must* be called in the finalizer of every object. It ensures * that any necessary cleanup work is done in the event that the object goes * out of scope within a transaction. */ protected void terminate () { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::terminate() for object-id " + get_uid()); } cleanUp(); super.terminate(); }
/** * This method *must* be called in the finalizer of every object. It ensures * that any necessary cleanup work is done in the event that the object goes * out of scope within a transaction. */ protected void terminate () { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::terminate() for object-id " + get_uid()); } cleanUp(); super.terminate(); }
/** * This method *must* be called in the finalizer of every object. It ensures * that any necessary cleanup work is done in the event that the object goes * out of scope within a transaction. */ protected void terminate () { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::terminate() for object-id " + get_uid()); } cleanUp(); super.terminate(); }
/** * This method *must* be called in the finalizer of every object. It ensures * that any necessary cleanup work is done in the event that the object goes * out of scope within a transaction. */ protected void terminate () { if (txojLogger.aitLogger.isDebugEnabled()) { txojLogger.aitLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PROTECTED, FacilityCode.FAC_CONCURRENCY_CONTROL, "LockManager::terminate() for object-id " + get_uid()); } cleanUp(); super.terminate(); }
/** * Cleanup. Note we grab the semaphore before destroying the the lock store * to ensure the store is deleted cleanly. */ public void finalize () throws Throwable { if (txojLogger.aitLogger.isDebugEnabled()) { txojLogger.aitLogger.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_CONCURRENCY_CONTROL, "LockManager.finalize()"); } boolean doSignal = false; cleanUp(); if (mutex != null) { if (mutex.lock() == Semaphore.SM_LOCKED) doSignal = true; } locksHeld = null; lockStore = null; conflictManager = null; if (doSignal) // mutex must be set mutex.unlock(); mutex = null; super.finalize(); }