public class Operation extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
COMMIT |
static int |
CREATE |
static int |
DELETE |
String |
dirName
Relative path of the object if any, null otherwise.
|
static int |
END |
int |
logidx |
int |
logptr |
String |
name
Name of the object
|
static int |
NOOP |
private static Pool |
pool |
static int |
SAVE |
private static long |
serialVersionUID
define serialVersionUID for interoperability
|
int |
type
Type of the operation.
|
byte[] |
value
Binary representation of the object (only for create and save operation).
|
Modifier | Constructor and Description |
---|---|
private |
Operation(int type,
String dirName,
String name,
byte[] value) |
Modifier and Type | Method and Description |
---|---|
static Operation |
alloc(int type,
String dirName,
String name) |
static Operation |
alloc(int type,
String dirName,
String name,
byte[] value) |
void |
free() |
static void |
initPool(int LogThresholdOperation) |
String |
toString()
Returns a string representation for this object.
|
private static final long serialVersionUID
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 String dirName
public String name
public byte[] value
public int logidx
public int logptr
private static Pool pool
public String toString()
public static void initPool(int LogThresholdOperation)
public void free()
Copyright © 2013 ScalAgent D.T.. All Rights Reserved.