public class JournalMetadata extends AbstractResourceMetadata
Journal
resource.log
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isIndexSegment()
True iff this resource is an
IndexSegment . |
boolean |
isJournal()
True iff this resource is a
Journal . |
equals, equals, getCommitTime, getCreateTime, getFile, getParams, getUUID, hashCode, readExternal, toString, writeExternal
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 final boolean isIndexSegment()
IResourceMetadata
IndexSegment
. Each
IndexSegment
contains historical read-only data for exactly one
partition of a scale-out index.public final boolean isJournal()
IResourceMetadata
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.