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 |
---|---|
Host |
Node.getHost()
Gets the host.
|
Constructor and Description |
---|
Node(Host host,
boolean isLocal)
Creates a new cluster node.
|
Modifier and Type | Method and Description |
---|---|
void |
ElectionService.added(EntryEvent<String,Nullable<Host>> entry) |
void |
ElectionService.removed(EntryEvent<String,Nullable<Host>> entry) |
void |
ElectionService.updated(EntryEvent<String,Nullable<Host>> entry) |
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 |
---|---|
Set<Host> |
HazelcastConfiguration.getCluster() |
Modifier and Type | Method and Description |
---|---|
static HazelcastConfiguration |
HazelcastConfiguration.forTcpIpDiscovery(PortNumber port,
Host... cluster)
Creates a connection configuration where TCP/IP is used to discover peers.
|
Modifier and Type | Method and Description |
---|---|
static HazelcastConfiguration |
HazelcastConfiguration.forTcpIpDiscovery(PortNumber port,
Collection<Host> cluster)
Creates a connection configuration where TCP/IP is used to discover peers.
|
Copyright © 2015. All Rights Reserved.