|
||||||||||
| 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.AbstractFSAccess
org.exoplatform.services.jcr.ext.replication.recovery.RecoveryWriter
public class RecoveryWriter
Created by The eXo Platform SAS.
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.services.jcr.ext.replication.recovery.AbstractFSAccess |
|---|
BUFFER_1KB, BUFFER_20X, BUFFER_8X, DATA_DIR_NAME, PREFIX_CHAR, PREFIX_REMOVED_DATA, REMOVED_SUFFIX |
| Constructor Summary | |
|---|---|
RecoveryWriter(java.io.File recoveryDir,
FileNameFactory fileNameFactory,
FileCleaner fileCleaner,
java.lang.String ownName)
RecoveryWriter constructor. |
|
| Method Summary | |
|---|---|
long |
removeChangesLog(java.util.List<java.lang.String> fileNameList,
java.lang.String ownerName)
removeChangesLog. |
void |
removeChangesLog(java.lang.String identifier,
java.lang.String ownerName)
removeChangesLog. |
java.lang.String |
save(java.io.File f,
TransactionChangesLog changesLog)
save. |
java.lang.String |
save(PendingConfirmationChengesLog confirmationChengesLog)
save. |
void |
saveRemoveChangesLog(java.lang.String fileName)
saveRemoveChangesLog. |
| Methods inherited from class org.exoplatform.services.jcr.ext.replication.recovery.AbstractFSAccess |
|---|
getAsFile, getAsFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecoveryWriter(java.io.File recoveryDir,
FileNameFactory fileNameFactory,
FileCleaner fileCleaner,
java.lang.String ownName)
throws java.io.IOException
recoveryDir - the recovery directoryfileNameFactory - the FileNameFactoryfileCleaner - the File CleanerownName - the own name
java.io.IOException - will be generated the IOException| Method Detail |
|---|
public java.lang.String save(PendingConfirmationChengesLog confirmationChengesLog)
throws java.io.IOException
confirmationChengesLog - the PendingConfirmationChengesLog
java.io.IOException - will be generated the IOException
public java.lang.String save(java.io.File f,
TransactionChangesLog changesLog)
throws java.io.IOException
f - the file to binary datachangesLog - the ChangesLog
java.io.IOException - will be generated the IOException
public void removeChangesLog(java.lang.String identifier,
java.lang.String ownerName)
throws java.io.IOException
identifier - the identification string to ChangesLogownerName - the owner name
java.io.IOException - will be generated the IOException
public long removeChangesLog(java.util.List<java.lang.String> fileNameList,
java.lang.String ownerName)
throws java.io.IOException
fileNameList - the list of file nameownerName - the owner name
java.io.IOException - will be generated the IOException
public void saveRemoveChangesLog(java.lang.String fileName)
throws java.io.IOException
fileName - the file name
java.io.IOException - will be generated the IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||