org.hibernate.shards.loadbalance
Interface ShardLoadBalancer

All Known Implementing Classes:
BaseShardLoadBalancer, RandomShardLoadBalancer, RoundRobinShardLoadBalancer

public interface ShardLoadBalancer

Describes a load balance for shards. Implementations are expected to be threadsafe.

Author:
maxr@google.com (Max Ross)

Method Summary
 ShardId getNextShardId()
           
 

Method Detail

getNextShardId

ShardId getNextShardId()
Returns:
the next ShardId