|
eXo JCR :: Component :: Extension Service 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.backup.impl.PendingChangesLog
public class PendingChangesLog
Created by The eXo Platform SAS.
| Nested Class Summary | |
|---|---|
class |
PendingChangesLog.Type
The definition of ChangesLog types. |
| Constructor Summary | |
|---|---|
PendingChangesLog(String identifier,
int dataLength)
PendingChangesLog constructor. |
|
PendingChangesLog(TransactionChangesLog itemDataChangesLog,
FileCleaner fileCleaner)
PendingChangesLog constructor. |
|
PendingChangesLog(TransactionChangesLog transactionChangesLog,
List<FixupStream> listFixupStreams,
List<SpoolFile> listFiles,
FileCleaner fileCleaner)
PendingChangesLog constructor. |
|
PendingChangesLog(TransactionChangesLog itemDataChangesLog,
String identifier,
int type,
FileCleaner fileCleaner)
PendingChangesLog constructor. |
|
| Method Summary | |
|---|---|
void |
addNewStream(FixupStream fs)
addNewStream. |
static byte[] |
getAsByteArray(TransactionChangesLog dataChangesLog)
getAsByteArray. |
static TransactionChangesLog |
getAsItemDataChangesLog(byte[] byteArray)
getAsItemDataChangesLog. |
int |
getConteinerType()
getConteinerType. |
byte[] |
getData()
getData. |
List<FixupStream> |
getFixupStreams()
getFixupStreams. |
String |
getIdentifier()
getIdentifier. |
List<InputStream> |
getInputStreams()
getInputStreams. |
TransactionChangesLog |
getItemDataChangesLog()
getItemDataChangesLog. |
List<SpoolFile> |
getListFile()
getListFile. |
List<RandomAccessFile> |
getListRandomAccessFiles()
getListRandomAccessFiles. |
RandomAccessFile |
getRandomAccessFile(FixupStream fs)
getRandomAccessFile. |
void |
putData(int offset,
byte[] tempData)
putData. |
void |
restore()
Restore ChangesLog(set the InputStreams to ValueData). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PendingChangesLog(TransactionChangesLog itemDataChangesLog,
FileCleaner fileCleaner)
throws IOException
itemDataChangesLog - ChangesLog with datafileCleaner - the FileCleaner
IOException - will be generated the IOExaption
public PendingChangesLog(TransactionChangesLog itemDataChangesLog,
String identifier,
int type,
FileCleaner fileCleaner)
throws IOException
itemDataChangesLog - ChangesLog with dataidentifier - identifier to this PendingChangesLog.type - type of PendingChangesLogfileCleaner - the FileCleaner
IOException - will be generated the IOExaption
public PendingChangesLog(String identifier,
int dataLength)
identifier - identifier to this PendingChangesLog.dataLength - the length of binary data
public PendingChangesLog(TransactionChangesLog transactionChangesLog,
List<FixupStream> listFixupStreams,
List<SpoolFile> listFiles,
FileCleaner fileCleaner)
transactionChangesLog - ChangesLog with datalistFixupStreams - list of FixupStreamslistFiles - list of FilesfileCleaner - the FileCleaner| Method Detail |
|---|
public void putData(int offset,
byte[] tempData)
offset - offset in 'data'tempData - piece of binary datapublic byte[] getData()
public TransactionChangesLog getItemDataChangesLog()
public List<InputStream> getInputStreams()
public List<RandomAccessFile> getListRandomAccessFiles()
public List<SpoolFile> getListFile()
public List<FixupStream> getFixupStreams()
public int getConteinerType()
public String getIdentifier()
public static byte[] getAsByteArray(TransactionChangesLog dataChangesLog)
throws IOException
dataChangesLog - the ChangesLog with data
IOException - will be generated the IOException
public static TransactionChangesLog getAsItemDataChangesLog(byte[] byteArray)
throws IOException,
ClassNotFoundException
byteArray - the serialized ChangesLog
IOException - will be generated the IOException
ClassNotFoundException - will be generated the ClassNotFoundException
public RandomAccessFile getRandomAccessFile(FixupStream fs)
throws IOException
fs - the FixupStream
IOException - will be generated the IOException
public void addNewStream(FixupStream fs)
throws IOException
fs - the FixupStream
IOException - will be generated the IOException
public void restore()
throws IOException
IOException - will be generated the IOException
|
eXo JCR :: Component :: Extension Service 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||