public class SecureRandomStrategy<T extends Endpoint> extends ArrayBasedStrategy<T>
| Modifier and Type | Field and Description |
|---|---|
protected java.security.SecureRandom |
rnd |
endpointCache, endpoints, nodeID, preferLocal| Constructor and Description |
|---|
SecureRandomStrategy(ServiceBroker broker,
boolean preferLocal) |
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
next(Context ctx,
Endpoint[] array) |
addEndpoint, getAllEndpoints, getEndpoint, getEndpointsByNodeID, isEmpty, removepublic SecureRandomStrategy(ServiceBroker broker, boolean preferLocal)