com.bigdata.btree
Interface IIndexLocalCounter

All Known Subinterfaces:
IClientIndex, IIndex, ILocalBTreeView, IScaleOutClientIndex
All Known Implementing Classes:
AbstractBTree, AbstractScaleOutClientIndexView, AbstractScaleOutClientIndexView2, BTree, ClientIndexView, ClientIndexViewRefactor, CommitRecordIndex, CommitTimeIndex, CounterSetBTree, DelegateIndex, EventReceiver.EventBTree, FusedView, HTree, IndexSegment, IndexSegmentIndex, IsolatedFusedView, JournalIndex, MetadataIndex, MetadataIndexView, Name2Addr, ReadCommittedView, ReadOnlyIndex, TxId2CommitTimeIndex, UnisolatedReadWriteIndex

public interface IIndexLocalCounter

An interface for accessing an index local counter.


Method Summary
 ICounter getCounter()
          A restart-safe counter.
 

Method Detail

getCounter

ICounter getCounter()
A restart-safe counter. For an unpartitioned index, this a single counter for the entire index with an initial value of zero (0) and it is stored in the index Checkpoint record. For a partitioned index, there is a distinct counter for each index partition, the partition identifier is used as the high int32 bits of the counter, and the low int32 of the counter has an initial value of zero (0) in each index partition.



Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.