|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.replication.recovery.RecoveryManager
public class RecoveryManager
Created by The eXo Platform SAS.
| Constructor Summary | |
|---|---|
RecoveryManager(java.io.File recoveryDir,
java.lang.String ownName,
java.lang.String systemId,
java.util.List<java.lang.String> participantsClusterList,
long waitConformation,
java.lang.String repoName,
java.lang.String wsName,
ChannelManager channelManager)
RecoveryManager constructor. |
|
| Method Summary | |
|---|---|
void |
confirmationChengesLogSave(Packet packet)
confirmationChengesLogSave. |
ChannelManager |
getChannelManager()
|
java.util.List<java.lang.String> |
getInitedParticipantsClusterList()
|
java.lang.String |
getOwnName()
|
java.util.List<java.lang.String> |
getParticipantsClusterList()
getParticipantsClusterList. |
PendingConfirmationChengesLog |
getPendingConfirmationChengesLogById(java.lang.String identifier)
getPendingConfirmationChengesLogById. |
RecoveryReader |
getRecoveryReader()
getRecoveryReader. |
RecoveryWriter |
getRecoveryWriter()
getRecoveryWriter. |
java.lang.String |
getRepositoryName()
|
java.lang.String |
getWorkspaceName()
|
boolean |
isAllInited()
|
int |
processing(Packet packet,
int stat)
processing. |
void |
remove(java.lang.String identifier)
remove. |
void |
removeChangesLog(java.lang.String identifier,
java.lang.String ownerName)
removeChangesLog. |
void |
save(ItemStateChangesLog cangesLog,
java.lang.String identifier)
save. |
java.lang.String |
save(java.lang.String identifier)
save. |
void |
saveRemovableChangesLog(java.lang.String fileName)
saveRemovableChangesLog. |
void |
setDataKeeper(ItemDataKeeper dataKeeper)
setDataKeeper. |
void |
startRecovery()
Will be initialized the recovery. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecoveryManager(java.io.File recoveryDir,
java.lang.String ownName,
java.lang.String systemId,
java.util.List<java.lang.String> participantsClusterList,
long waitConformation,
java.lang.String repoName,
java.lang.String wsName,
ChannelManager channelManager)
throws java.io.IOException
recoveryDir - the recovery dirownName - the own namesystemId - the system identification stringparticipantsClusterList - the other participantswaitConformation - the timeout to confirmationrepoName - the repository namewsName - the workspace namechannelManager - the ChannelManager
java.io.IOException - will be generated the IOException| Method Detail |
|---|
public void save(ItemStateChangesLog cangesLog,
java.lang.String identifier)
throws java.io.IOException
cangesLog - the ChangesLog with dataidentifier - the identifier to ChangesLog
java.io.IOException - will be generated the IOExceptionpublic void confirmationChengesLogSave(Packet packet)
packet - the Packet with confirmation
public void removeChangesLog(java.lang.String identifier,
java.lang.String ownerName)
throws java.io.IOException
identifier - the identifier to ChangesLogownerName - the member name
java.io.IOException - will be generated the IOException
public java.lang.String save(java.lang.String identifier)
throws java.io.IOException
identifier - the identifier of ChangesLog
java.io.IOException - will be generated the IOException
public void saveRemovableChangesLog(java.lang.String fileName)
throws java.io.IOException
fileName - the name of file
java.io.IOException - will be generated the IOExceptionpublic void remove(java.lang.String identifier)
identifier - the identifier to ChangesLog
public PendingConfirmationChengesLog getPendingConfirmationChengesLogById(java.lang.String identifier)
throws java.lang.Exception
identifier - the identifier to ChangesLog
java.lang.Exception - will be generated the Exception
public int processing(Packet packet,
int stat)
throws java.lang.Exception
packet - the Packet with datastat - before state
java.lang.Exception - will be generated the Exceptionpublic void setDataKeeper(ItemDataKeeper dataKeeper)
dataKeeper - the ItemDataKeeperpublic java.util.List<java.lang.String> getParticipantsClusterList()
public boolean isAllInited()
public java.util.List<java.lang.String> getInitedParticipantsClusterList()
public java.lang.String getOwnName()
public java.lang.String getWorkspaceName()
public java.lang.String getRepositoryName()
public ChannelManager getChannelManager()
public void startRecovery()
public RecoveryWriter getRecoveryWriter()
public RecoveryReader getRecoveryReader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||