org.scale7.cassandra.pelops
Class ManagerOperand

java.lang.Object
  extended by org.scale7.cassandra.pelops.ManagerOperand
Direct Known Subclasses:
ClusterManager, ColumnFamilyManager, KeyspaceManager

public class ManagerOperand
extends Object


Nested Class Summary
protected static interface ManagerOperand.IManagerOperation<ReturnType>
           
 
Method Summary
protected  void openClient()
          Acquire connections to cluster nodes in a manner that reduces the likelihood of synchronization issues in the event of failure.
protected
<ReturnType>
ReturnType
tryOperation(ManagerOperand.IManagerOperation<ReturnType> operation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

openClient

protected void openClient()
                   throws Exception
Acquire connections to cluster nodes in a manner that reduces the likelihood of synchronization issues in the event of failure. See http://wiki.apache.org/cassandra/FAQ#no_keyspaces for an explanation.

Throws:
Exception

tryOperation

protected <ReturnType> ReturnType tryOperation(ManagerOperand.IManagerOperation<ReturnType> operation)
                           throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.