org.cumulus4j.store.datastoreversion
Class CommandApplyParam
java.lang.Object
   org.cumulus4j.store.datastoreversion.CommandApplyParam
org.cumulus4j.store.datastoreversion.CommandApplyParam
- public class CommandApplyParam 
- extends Object
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PROPERTY_KEY_TIMEOUT
public static final String PROPERTY_KEY_TIMEOUT
- See Also:
- Constant Field Values
CommandApplyParam
public CommandApplyParam(Cumulus4jStoreManager storeManager,
                         CryptoContext cryptoContext,
                         PersistenceManager persistenceManager,
                         DatastoreVersion datastoreVersion,
                         Properties workInProgressStateProperties)
- Parameters:
- storeManager- TODO
- cryptoContext- the context; must not be- null.
- persistenceManager- the persistence-manager; must not be- null.
- datastoreVersion- the current datastore-version (representing the last execution of the same command
 as currently being applied). Always- null, if the command is final. Only not- null, if
 the command is not final and was already applied in an earlier version.
- workInProgressStateProperties- TODO
getStoreManager
public Cumulus4jStoreManager getStoreManager()
- 
 
getCryptoContext
public CryptoContext getCryptoContext()
- 
 
getPersistenceManager
public PersistenceManager getPersistenceManager()
- 
 
getDatastoreVersion
public DatastoreVersion getDatastoreVersion()
- 
 
getWorkInProgressStateProperties
public Properties getWorkInProgressStateProperties()
- 
 
getDatastoreVersionCommandApplyWorkInProgressTimeout
public long getDatastoreVersionCommandApplyWorkInProgressTimeout()
- Get the time in milliseconds after which a WorkInProgressExceptionshould be thrown by theDatastoreVersionCommand.
 
- 
- Returns:
- the timeout in milliseconds.
 
getApplyStartTimestamp
public Date getApplyStartTimestamp()
- 
 
isDatastoreVersionCommandApplyWorkInProgressTimeoutExceeded
public boolean isDatastoreVersionCommandApplyWorkInProgressTimeoutExceeded()
- 
 
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.