com.bigdata.mdi
Class JournalMetadata
java.lang.Object
com.bigdata.mdi.AbstractResourceMetadata
com.bigdata.mdi.JournalMetadata
- All Implemented Interfaces:
- IResourceMetadata, Params, Externalizable, Serializable, Cloneable
public class JournalMetadata
- extends AbstractResourceMetadata
Metadata required to locate a Journal resource.
- Version:
- $Id: JournalMetadata.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
- See Also:
- Serialized Form
JournalMetadata
public JournalMetadata()
- De-serialization constructor.
JournalMetadata
public JournalMetadata(AbstractJournal journal)
- The
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.
- Parameters:
journal - The journal.
JournalMetadata
public JournalMetadata(File file,
UUID uuid,
long createTime)
isIndexSegment
public final boolean isIndexSegment()
- Description copied from interface:
IResourceMetadata
- True iff this resource is an
IndexSegment. Each
IndexSegment contains historical read-only data for exactly one
partition of a scale-out index.
isJournal
public final boolean isJournal()
- Description copied from interface:
IResourceMetadata
- True iff this resource is a
Journal. 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.
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.