|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.dataobj.Metadata
Metadata is the class which contains all of the Metadata for a DataObject
Field Summary | |
---|---|
protected Hashtable |
_metadata
All metadata will be stored in this Hashtable. |
static int |
ACL
|
static int |
ACL_GUID
|
static int |
ACTIVE_GUID
|
static int |
BLOCK_SIZE
|
static int |
BRANCH_AGUID
|
static int |
BRANCH_HEAD
|
static int |
BRANCH_NUM
|
static int |
BRANCH_VGUID
|
static boolean |
DEBUG
|
static int |
EXPIRATION_DATE
|
static int |
INTEGER_TYPE
These are the types of names possible for Metadata objects. |
static int |
IS_LOG
|
static int |
LAST_CKPT_GUID
|
static int |
LAST_LOG_GUID
|
static int |
LAST_VHASH
|
static int |
OBJECT_CREATE_TIME
|
static int |
PRCERT
|
static int |
PRCERT_GUID
|
static int |
RESULTING_VHASH
|
static int |
RPCERT
|
static int |
RPCERT_GUID
|
static int |
SIZE
These are standard constants for use with Metadata. |
static int |
STRING_TYPE
|
static int |
VERSION_CREATE_TIME
|
static int |
VERSION_SEQNUM
|
Constructor Summary | |
---|---|
Metadata()
|
|
Metadata(InputBuffer buffer)
|
|
Metadata(Metadata other)
|
Method Summary | |
---|---|
boolean |
flush()
flush routine. |
QuickSerializable |
get(int name)
Retrieve an element from Metadata |
QuickSerializable |
get(String name)
Retrieve an element from Metadata |
protected QuickSerializable |
internalGet(Object name)
Retrieve an element from Metadata |
protected boolean |
internalPut(Object name,
QuickSerializable qs)
Insert an element into the Metadata |
Set |
keys()
Get a set of all the keys in the Metadata. |
boolean |
put(int name,
QuickSerializable qs)
Insert an element into the Metadata |
boolean |
put(String name,
QuickSerializable qs)
Insert an element into the Metadata |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
String |
toString()
|
boolean |
uncache()
uncache routine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final boolean DEBUG
public static final int SIZE
public static final int BLOCK_SIZE
public static final int ACTIVE_GUID
public static final int VERSION_SEQNUM
public static final int LAST_CKPT_GUID
public static final int LAST_LOG_GUID
public static final int RPCERT
public static final int RPCERT_GUID
public static final int PRCERT
public static final int PRCERT_GUID
public static final int ACL
public static final int ACL_GUID
public static final int RESULTING_VHASH
public static final int IS_LOG
public static final int OBJECT_CREATE_TIME
public static final int VERSION_CREATE_TIME
public static final int EXPIRATION_DATE
public static final int LAST_VHASH
public static final int BRANCH_NUM
public static final int BRANCH_VGUID
public static final int BRANCH_AGUID
public static final int BRANCH_HEAD
protected Hashtable _metadata
public static final int INTEGER_TYPE
public static final int STRING_TYPE
Constructor Detail |
public Metadata()
public Metadata(Metadata other)
public Metadata(InputBuffer buffer) throws QSException
Method Detail |
protected boolean internalPut(Object name, QuickSerializable qs)
name
- == name of the elementqs
- == the piece of metadata we wish to store
public boolean put(int name, QuickSerializable qs)
name
- == name of the elementqs
- == the piece of metadata we wish to store
public boolean put(String name, QuickSerializable qs)
name
- == name of the elementqs
- == the piece of metadata we wish to store
protected QuickSerializable internalGet(Object name)
name
- == name of the element
public QuickSerializable get(int name)
name
- == name of the element
public QuickSerializable get(String name)
name
- == name of the element
public Set keys()
public boolean uncache()
public boolean flush()
public String toString()
toString
in class Object
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
buffer
- the output buffer to add the object to
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |