Uses of Class
org.apache.cassandra.utils.CounterId

Packages that use CounterId
org.apache.cassandra.db   
org.apache.cassandra.db.context   
org.apache.cassandra.io.sstable   
org.apache.cassandra.utils   
 

Uses of CounterId in org.apache.cassandra.db
 

Methods in org.apache.cassandra.db that return CounterId
static CounterId SystemTable.getCurrentLocalCounterId()
          Read the current local node id from the system table or null if no such node id is recorded.
 

Methods in org.apache.cassandra.db with parameters of type CounterId
 boolean CounterColumn.hasCounterId(CounterId id)
          Check if a given counterId is found in this CounterColumn context.
static void SystemTable.writeCurrentLocalCounterId(CounterId oldCounterId, CounterId newCounterId, long now)
          Write a new current local node id to the system table.
 

Uses of CounterId in org.apache.cassandra.db.context
 

Methods in org.apache.cassandra.db.context that return CounterId
 CounterId CounterContext.ContextState.getCounterId()
           
 

Methods in org.apache.cassandra.db.context with parameters of type CounterId
 java.nio.ByteBuffer CounterContext.create(CounterId id, long clock, long value, boolean isDelta)
           
 boolean CounterContext.hasCounterId(java.nio.ByteBuffer context, CounterId id)
          Checks whether the provided context has a count for the provided CounterId.
 void CounterContext.ContextState.writeElement(CounterId id, long clock, long count)
           
 void CounterContext.ContextState.writeElement(CounterId id, long clock, long count, boolean isDelta)
           
 

Uses of CounterId in org.apache.cassandra.io.sstable
 

Fields in org.apache.cassandra.io.sstable declared as CounterId
protected  CounterId AbstractSSTableSimpleWriter.counterid
           
 

Uses of CounterId in org.apache.cassandra.utils
 

Fields in org.apache.cassandra.utils declared as CounterId
 CounterId CounterId.CounterIdRecord.id
           
 

Methods in org.apache.cassandra.utils that return CounterId
static CounterId CounterId.fromInt(int n)
          Function for test purposes, do not use otherwise.
static CounterId CounterId.generate()
           
static CounterId CounterId.getLocalId()
           
static CounterId CounterId.wrap(java.nio.ByteBuffer id)
           
static CounterId CounterId.wrap(java.nio.ByteBuffer bb, int offset)
           
 

Methods in org.apache.cassandra.utils with parameters of type CounterId
 int CounterId.compareTo(CounterId o)
           
 

Constructors in org.apache.cassandra.utils with parameters of type CounterId
CounterId.CounterIdRecord(CounterId id, long timestamp)
           
 



Copyright © 2012 The Apache Software Foundation