me.prettyprint.cassandra.model
Class KeyspaceOperationCallback<T>

java.lang.Object
  extended by me.prettyprint.cassandra.model.KeyspaceOperationCallback<T>
Type Parameters:
T -

public abstract class KeyspaceOperationCallback<T>
extends Object

A callback template used by the package classes. Not for external use.

Author:
Ran Tavory

Constructor Summary
KeyspaceOperationCallback()
           
 
Method Summary
abstract  T doInKeyspace(KeyspaceService ks)
           
 ExecutionResult<T> doInKeyspaceAndMeasure(KeyspaceService ks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyspaceOperationCallback

public KeyspaceOperationCallback()
Method Detail

doInKeyspace

public abstract T doInKeyspace(KeyspaceService ks)
                        throws HectorException
Throws:
HectorException

doInKeyspaceAndMeasure

public ExecutionResult<T> doInKeyspaceAndMeasure(KeyspaceService ks)


Copyright © 2011. All Rights Reserved.