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

- Packages that use CounterId
  Package | Description
  --- | ---
  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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `CounterId` | CounterContext.ContextState.`getCounterId()`

    Methods in org.apache.cassandra.db.context with parameters of type CounterId
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Field and Description
    --- | ---
    `protected CounterId` | AbstractSSTableSimpleWriter.`counterid`

  - ### Uses of CounterId in org.apache.cassandra.utils

    Fields in org.apache.cassandra.utils declared as CounterId
    Modifier and Type | Field and Description
    --- | ---
    `CounterId` | CounterId.CounterIdRecord.`id`

    Methods in org.apache.cassandra.utils that return CounterId
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `int` | CounterId.`compareTo(CounterId o)`

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

Copyright © 2014 The Apache Software Foundation