| java.lang.Object org.continuent.sequoia.controller.recoverylog.BackendRecoveryInfo
BackendRecoveryInfo | final public class BackendRecoveryInfo (Code) | | A instance of this class gives information on a specific backend state from
the recovery log. For a backend, we have its name, the virtual database that
owns it, the lastKnownCheckpoint,and the state of the backend ().
author: Nicolas Modrzyk author: Emmanuel Cecchet version: 1.0 |
BackendRecoveryInfo | public BackendRecoveryInfo(String backendName, String lastCheckpoint, int backendState, String virtualDatabase)(Code) | | Creates a new BackendRecoveryInfo object
Parameters: backendName - backend name Parameters: lastCheckpoint - last known checkpoint name Parameters: backendState - backend state as defined in BackendState Parameters: virtualDatabase - virtual database name |
getBackendName | public String getBackendName()(Code) | | Returns the backendName value.
Returns the backendName. |
getBackendState | public int getBackendState()(Code) | | Returns the backend state as defined in BackendState .
Returns the backend state. |
getCheckpoint | public String getCheckpoint()(Code) | | Returns the lastCheckpoint value.
Returns the lastCheckpoint. |
getVirtualDatabase | public String getVirtualDatabase()(Code) | | Returns the virtualDatabase value.
Returns the virtualDatabase. |
setBackendName | public void setBackendName(String backendName)(Code) | | Sets the backendName value.
Parameters: backendName - The backendName to set. |
setBackendState | public void setBackendState(int backendState)(Code) | | Sets the backend state value. The value must be defined in
BackendState
Parameters: backendState - The backend state to set. |
setCheckpoint | public void setCheckpoint(String lastCheckpoint)(Code) | | Sets the lastCheckpoint value.
Parameters: lastCheckpoint - The lastCheckpoint to set. |
setVirtualDatabase | public void setVirtualDatabase(String virtualDatabase)(Code) | | Sets the virtualDatabase value.
Parameters: virtualDatabase - The virtualDatabase to set. |
|
|