Uses of Interface org.apache.cassandra.net.IAsyncCallback (apache-cassandra API)
Date: 2014-10-21

## Uses of Interface
org.apache.cassandra.net.IAsyncCallback

- Packages that use IAsyncCallback
  Package | Description
  --- | ---
  org.apache.cassandra.net |
  org.apache.cassandra.service |
  org.apache.cassandra.service.paxos |

- - ### Uses of IAsyncCallback in org.apache.cassandra.net

    Subinterfaces of IAsyncCallback in org.apache.cassandra.net
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `IAsyncCallbackWithFailure<T>`

    Classes in org.apache.cassandra.net that implement IAsyncCallback
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AsyncOneResponse<T>` A callback specialized for returning a value from a single target; that is, this is for messages that we only send to one recipient.

    Fields in org.apache.cassandra.net declared as IAsyncCallback
    Modifier and Type | Field and Description
    --- | ---
    `protected IAsyncCallback` | CallbackInfo.`callback`

    Methods in org.apache.cassandra.net with parameters of type IAsyncCallback
    Modifier and Type | Method and Description
    --- | ---
    `int` | MessagingService.`addCallback(IAsyncCallback cb, MessageOut<? extends IMutation> message, java.net.InetAddress to, long timeout, ConsistencyLevel consistencyLevel, boolean allowHints)`
    `int` | MessagingService.`addCallback(IAsyncCallback cb, MessageOut message, java.net.InetAddress to, long timeout, boolean failureCallback)`
    `void` | MessagingService.`maybeAddLatency(IAsyncCallback cb, java.net.InetAddress address, long latency)` Track latency information for the dynamic snitch
    `int` | MessagingService.`sendRR(MessageOut message, java.net.InetAddress to, IAsyncCallback cb)`
    `int` | MessagingService.`sendRR(MessageOut message, java.net.InetAddress to, IAsyncCallback cb, long timeout, boolean failureCallback)` Send a non-mutation message to a given endpoint.

    Constructors in org.apache.cassandra.net with parameters of type IAsyncCallback
    Constructor and Description
    `CallbackInfo(java.net.InetAddress target, IAsyncCallback callback, IVersionedSerializer<?> serializer)`
    `CallbackInfo(java.net.InetAddress target, IAsyncCallback callback, IVersionedSerializer<?> serializer, boolean failureCallback)` Create CallbackInfo without sent message
    `WriteCallbackInfo(java.net.InetAddress target, IAsyncCallback callback, MessageOut message, IVersionedSerializer<?> serializer, ConsistencyLevel consistencyLevel, boolean allowHints)`

  - ### Uses of IAsyncCallback in org.apache.cassandra.service

    Classes in org.apache.cassandra.service that implement IAsyncCallback
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractWriteResponseHandler`
    `class` | `AsyncRepairCallback`
    `class` | `DatacenterSyncWriteResponseHandler` This class blocks for a quorum of responses _in all datacenters_ (CL.EACH_QUORUM).
    `class` | `DatacenterWriteResponseHandler` This class blocks for a quorum of responses _in the local datacenter only_ (CL.LOCAL_QUORUM).
    `class` | `ReadCallback<TMessage,TResolved>`
    `class` | `TruncateResponseHandler`
    `class` | `WriteResponseHandler` Handles blocking writes for ONE, ANY, TWO, THREE, QUORUM, and ALL consistency levels.

  - ### Uses of IAsyncCallback in org.apache.cassandra.service.paxos

    Classes in org.apache.cassandra.service.paxos that implement IAsyncCallback
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractPaxosCallback<T>`
    `class` | `PrepareCallback`
    `class` | `ProposeCallback` ProposeCallback has two modes of operation, controlled by the failFast parameter.

Copyright © 2014 The Apache Software Foundation