List of usage examples for org.apache.commons.transaction.file ResourceManager SHUTDOWN_MODE_NORMAL
int SHUTDOWN_MODE_NORMAL
To view the source code for org.apache.commons.transaction.file ResourceManager SHUTDOWN_MODE_NORMAL.
Click Source Link
From source file:org.apache.slide.store.txfile.AbstractTxFileStoreService.java
public void disconnect() throws ServiceDisconnectionFailedException { try {// w w w .j a v a 2 s . c o m if (!rm.stop(ResourceManager.SHUTDOWN_MODE_NORMAL)) { throw new ServiceDisconnectionFailedException(this, "Shut down timed out"); } started = false; } catch (ResourceManagerException e) { throw new ServiceDisconnectionFailedException(this, e); } }