|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.util.Operation
public class Operation
This class describes an operation in the transaction log.
Field Summary | |
---|---|
static int |
COMMIT
|
static int |
CREATE
|
static int |
DELETE
|
java.lang.String |
dirName
Relative path of the object if any, null otherwise. |
static int |
END
|
int |
logidx
|
int |
logptr
|
java.lang.String |
name
Name of the object |
static int |
NOOP
|
static int |
SAVE
|
int |
type
Type of the operation. |
byte[] |
value
Binary representation of the object (only for create and save operation). |
Method Summary | |
---|---|
static Operation |
alloc(int type,
java.lang.String dirName,
java.lang.String name)
|
static Operation |
alloc(int type,
java.lang.String dirName,
java.lang.String name,
byte[] value)
|
void |
free()
|
static void |
initPool(int LogThresholdOperation)
|
java.lang.String |
toString()
Returns a string representation for this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SAVE
public static final int CREATE
public static final int DELETE
public static final int NOOP
public static final int COMMIT
public static final int END
public int type
public java.lang.String dirName
public java.lang.String name
public byte[] value
public int logidx
public int logptr
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public static void initPool(int LogThresholdOperation)
public static Operation alloc(int type, java.lang.String dirName, java.lang.String name)
public static Operation alloc(int type, java.lang.String dirName, java.lang.String name, byte[] value)
public void free()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |