Package | Description |
---|---|
com.hp.util.dcord |
Distributed Coordination Service API.
|
com.hp.util.dcord.election |
Authority that determines whether the local node is eligible for election.
|
com.hp.util.dcord.hazelcast |
Distributed Coordination Service implementation using Hazelcast as the underlying technoligy.
|
Modifier and Type | Method and Description |
---|---|
static Namespace |
Namespace.forReplicatedProcess(Class<?> replicatedProcess)
Creates a namespace to be used when all the nodes run the same code and
use a single instance of a distributed service (Like queues).
|
Namespace |
EntryEvent.getNamespace()
Gets the data namespace.
|
static Namespace |
Namespace.valueOf(String serviceId)
Creates a custom namespace.
|
static Namespace |
Namespace.valueOf(String serviceId,
String componentId)
Creates a custom namespace.
|
Modifier and Type | Method and Description |
---|---|
void |
SuspendibleCoordinationService.configureMap(Namespace namespace,
MapConfiguration configuration) |
void |
CoordinationServiceAdapter.configureMap(Namespace namespace,
MapConfiguration configuration) |
void |
CoordinationService.configureMap(Namespace namespace,
MapConfiguration configuration)
Sets a particular configuration for a distributed map.
|
DistributedLock |
SuspendibleCoordinationService.getLock(Namespace namespace) |
DistributedLock |
CoordinationServiceAdapter.getLock(Namespace namespace) |
DistributedLock |
CoordinationService.getLock(Namespace namespace)
Creates a distributed lock.
|
<K,V> DistributedMap<K,V> |
SuspendibleCoordinationService.getMap(Namespace namespace) |
<K,V> DistributedMap<K,V> |
CoordinationServiceAdapter.getMap(Namespace namespace) |
<K,V> DistributedMap<K,V> |
CoordinationService.getMap(Namespace namespace)
Gets a distributed map.
|
Constructor and Description |
---|
EntryEvent(K key,
V value,
V oldValue,
Namespace namespace,
Node source)
Creates an entry event.
|
Constructor and Description |
---|
ElectionService(CoordinationService coordinationService,
ElectionListener electionListener,
Namespace namespace,
ElectionStrategy electionStrategy,
ElectionAuthority electionAuthority,
Serializer<Host> hostSerializer,
org.slf4j.Logger logger)
Start election service.
|
Modifier and Type | Method and Description |
---|---|
void |
HazelcastCoordinationService.configureMap(Namespace namespace,
MapConfiguration configuration) |
DistributedLock |
HazelcastCoordinationService.getLock(Namespace namespace) |
<K,V> DistributedMap<K,V> |
HazelcastCoordinationService.getMap(Namespace namespace) |
Copyright © 2015. All Rights Reserved.