org.scale7.cassandra.pelops.pool
Interface CommonsBackedPool.INodeSuspensionState

Enclosing class:
CommonsBackedPool

public static interface CommonsBackedPool.INodeSuspensionState

Interface used to define a pooled nodes suspension status.

See Also:
CommonsBackedPool.INodeSuspensionStrategy

Method Summary
 boolean isSuspended()
          Used to indicate if a node is suspended.
 

Method Detail

isSuspended

boolean isSuspended()
Used to indicate if a node is suspended.

Note: Implementations needs to ensure that invokations to this method are thread safe.

Returns:
true if the node is suspended, otherwise false (this method should return true until the node is no longer considered suspended)


Copyright © 2011. All Rights Reserved.