|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.mdi.AbstractResourceMetadata
com.bigdata.mdi.JournalMetadata
public class JournalMetadata
Metadata required to locate a Journal resource.
| Field Summary |
|---|
| Fields inherited from class com.bigdata.mdi.AbstractResourceMetadata |
|---|
log |
| Constructor Summary | |
|---|---|
JournalMetadata()
De-serialization constructor. |
|
JournalMetadata(AbstractJournal journal)
The description of a journal. |
|
JournalMetadata(AbstractJournal journal,
long commitTime)
Constructor variant used to indicate a read from a specific commitTime on a journal. |
|
JournalMetadata(File file,
UUID uuid,
long createTime,
long commitTime)
Data only constructor used by some unit tests. |
|
| Method Summary | |
|---|---|
boolean |
isIndexSegment()
True iff this resource is an IndexSegment. |
boolean |
isJournal()
True iff this resource is a Journal. |
| Methods inherited from class com.bigdata.mdi.AbstractResourceMetadata |
|---|
equals, equals, getCommitTime, getCreateTime, getFile, getParams, getUUID, hashCode, readExternal, toString, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JournalMetadata()
public JournalMetadata(AbstractJournal journal)
JournalMetadata state will not
change as writes are made on the journal since it does not reflect
anything exception the UUID, the filename, and the create time.
journal - The journal.
public JournalMetadata(AbstractJournal journal,
long commitTime)
journal - The journal.commitTime - The commitTime.
public JournalMetadata(File file,
UUID uuid,
long createTime,
long commitTime)
file - uuid - createTime - | Method Detail |
|---|
public final boolean isIndexSegment()
IResourceMetadataIndexSegment. Each
IndexSegment contains historical read-only data for exactly one
partition of a scale-out index.
public final boolean isJournal()
IResourceMetadataJournal. When the resource is a
Journal, there will be a named mutable btree on the journal that
is absorbing writes for one or more index partition of a scale-out index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||