Skip navigation links
A B C D E F G H I J L M N O P S T U V 

A

address() - Method in interface io.scalecube.cluster.Cluster
Returns local listen Address of this cluster instance.
address() - Method in class io.scalecube.cluster.Member
 

B

build() - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
builder() - Static method in class io.scalecube.cluster.ClusterConfig
 

C

ceilLog2(int) - Static method in class io.scalecube.cluster.ClusterMath
Returns ceil(log2(n + 1)).
Cluster - Interface in io.scalecube.cluster
Facade cluster interface which provides API to interact with cluster members.
ClusterConfig - Class in io.scalecube.cluster
Cluster configuration encapsulate settings needed cluster to create and successfully join.
ClusterConfig.Builder - Class in io.scalecube.cluster
 
ClusterMath - Class in io.scalecube.cluster
Utility class which contains math computation on cluster properties.
connectTimeout(int) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 

D

DEFAULT_GOSSIP_FANOUT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_GOSSIP_INTERVAL - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_GOSSIP_REPEAT_MULT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_LOCAL_CONNECT_TIMEOUT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_LOCAL_GOSSIP_INTERVAL - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_LOCAL_GOSSIP_REPEAT_MULT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_LOCAL_PING_INTERVAL - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_LOCAL_PING_REQ_MEMBERS - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_LOCAL_PING_TIMEOUT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_LOCAL_SUSPICION_MULT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_LOCAL_SYNC_INTERVAL - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_PING_INTERVAL - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_PING_REQ_MEMBERS - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_PING_TIMEOUT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_SUSPICION_MULT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_SYNC_GROUP - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_SYNC_INTERVAL - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_SYNC_TIMEOUT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_WAN_CONNECT_TIMEOUT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_WAN_GOSSIP_FANOUT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_WAN_PING_INTERVAL - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_WAN_PING_TIMEOUT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_WAN_SUSPICION_MULT - Static variable in class io.scalecube.cluster.ClusterConfig
 
DEFAULT_WAN_SYNC_INTERVAL - Static variable in class io.scalecube.cluster.ClusterConfig
 
defaultConfig() - Static method in class io.scalecube.cluster.ClusterConfig
 
defaultLanConfig() - Static method in class io.scalecube.cluster.ClusterConfig
 
defaultLocalConfig() - Static method in class io.scalecube.cluster.ClusterConfig
Creates cluster config with default settings for cluster on local loopback interface.
defaultWanConfig() - Static method in class io.scalecube.cluster.ClusterConfig
Creates cluster config with default settings for cluster on WAN network.

E

equals(Object) - Method in class io.scalecube.cluster.Member
 

F

FailureDetector - Class in io.scalecube.cluster.fdetector
 
FailureDetector(Transport, IMembershipProtocol, FailureDetectorConfig) - Constructor for class io.scalecube.cluster.fdetector.FailureDetector
Creates new instance of failure detector with given transport and settings.
FailureDetectorConfig - Interface in io.scalecube.cluster.fdetector
 
FailureDetectorEvent - Class in io.scalecube.cluster.fdetector
CLass contains result of ping check.

G

getGossipFanout() - Method in class io.scalecube.cluster.ClusterConfig
 
getGossipFanout() - Method in interface io.scalecube.cluster.gossip.GossipConfig
 
getGossipInterval() - Method in class io.scalecube.cluster.ClusterConfig
 
getGossipInterval() - Method in interface io.scalecube.cluster.gossip.GossipConfig
 
getGossipRepeatMult() - Method in class io.scalecube.cluster.ClusterConfig
 
getGossipRepeatMult() - Method in interface io.scalecube.cluster.gossip.GossipConfig
 
getMetadata() - Method in class io.scalecube.cluster.ClusterConfig
 
getMetadata() - Method in interface io.scalecube.cluster.membership.MembershipConfig
 
getPingInterval() - Method in class io.scalecube.cluster.ClusterConfig
 
getPingInterval() - Method in interface io.scalecube.cluster.fdetector.FailureDetectorConfig
 
getPingInterval() - Method in interface io.scalecube.cluster.membership.MembershipConfig
 
getPingReqMembers() - Method in class io.scalecube.cluster.ClusterConfig
 
getPingReqMembers() - Method in interface io.scalecube.cluster.fdetector.FailureDetectorConfig
 
getPingTimeout() - Method in class io.scalecube.cluster.ClusterConfig
 
getPingTimeout() - Method in interface io.scalecube.cluster.fdetector.FailureDetectorConfig
 
getSeedMembers() - Method in class io.scalecube.cluster.ClusterConfig
 
getSeedMembers() - Method in interface io.scalecube.cluster.membership.MembershipConfig
 
getSuspicionMult() - Method in class io.scalecube.cluster.ClusterConfig
 
getSuspicionMult() - Method in interface io.scalecube.cluster.membership.MembershipConfig
 
getSyncGroup() - Method in class io.scalecube.cluster.ClusterConfig
 
getSyncGroup() - Method in interface io.scalecube.cluster.membership.MembershipConfig
 
getSyncInterval() - Method in class io.scalecube.cluster.ClusterConfig
 
getSyncInterval() - Method in interface io.scalecube.cluster.membership.MembershipConfig
 
getSyncTimeout() - Method in class io.scalecube.cluster.ClusterConfig
 
getSyncTimeout() - Method in interface io.scalecube.cluster.membership.MembershipConfig
 
getTransportConfig() - Method in class io.scalecube.cluster.ClusterConfig
 
GOSSIP_REQ - Static variable in class io.scalecube.cluster.gossip.GossipProtocol
 
GossipConfig - Interface in io.scalecube.cluster.gossip
 
gossipConvergencePercent(int, int, int, double) - Static method in class io.scalecube.cluster.ClusterMath
 
gossipConvergenceProbability(int, int, int, double) - Static method in class io.scalecube.cluster.ClusterMath
 
gossipDisseminationTime(int, int, long) - Static method in class io.scalecube.cluster.ClusterMath
 
gossipFanout(int) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
gossipInterval(long) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
gossipPeriodsToSpread(int, int) - Static method in class io.scalecube.cluster.ClusterMath
 
gossipPeriodsToSweep(int, int) - Static method in class io.scalecube.cluster.ClusterMath
 
GossipProtocol - Class in io.scalecube.cluster.gossip
 
GossipProtocol(Transport, IMembershipProtocol, GossipConfig) - Constructor for class io.scalecube.cluster.gossip.GossipProtocol
Creates new instance of gossip protocol with given memberId, transport and settings.
gossipRepeatMult(int) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
gossipTimeoutToSweep(int, int, long) - Static method in class io.scalecube.cluster.ClusterMath
 

H

hashCode() - Method in class io.scalecube.cluster.Member
 

I

id() - Method in class io.scalecube.cluster.Member
 
IFailureDetector - Interface in io.scalecube.cluster.fdetector
Failure Detector component responsible for monitoring availability of other members in the cluster.
IGossipProtocol - Interface in io.scalecube.cluster.gossip
Gossip Protocol component responsible for spreading information (gossips) over the cluster members using infection-style dissemination algorithms.
IMembershipProtocol - Interface in io.scalecube.cluster.membership
Cluster Membership Protocol component responsible for managing information about existing members of the cluster.
io.scalecube.cluster - package io.scalecube.cluster
 
io.scalecube.cluster.fdetector - package io.scalecube.cluster.fdetector
 
io.scalecube.cluster.gossip - package io.scalecube.cluster.gossip
 
io.scalecube.cluster.membership - package io.scalecube.cluster.membership
 
isAdded() - Method in class io.scalecube.cluster.membership.MembershipEvent
 
isRemoved() - Method in class io.scalecube.cluster.membership.MembershipEvent
 
isUpdated() - Method in class io.scalecube.cluster.membership.MembershipEvent
 

J

join() - Static method in interface io.scalecube.cluster.Cluster
Init cluster instance and join cluster asynchronously.
join(Address...) - Static method in interface io.scalecube.cluster.Cluster
Init cluster instance with the given seed members and join cluster asynchronously.
join(Map<String, String>, Address...) - Static method in interface io.scalecube.cluster.Cluster
Init cluster instance with the given metadata and seed members and join cluster synchronously.
join(ClusterConfig) - Static method in interface io.scalecube.cluster.Cluster
Init cluster instance with the given configuration and join cluster synchronously.
joinAwait() - Static method in interface io.scalecube.cluster.Cluster
Init cluster instance and join cluster synchronously.
joinAwait(Address...) - Static method in interface io.scalecube.cluster.Cluster
Init cluster instance with the given seed members and join cluster synchronously.
joinAwait(Map<String, String>, Address...) - Static method in interface io.scalecube.cluster.Cluster
Init cluster instance with the given metadata and seed members and join cluster synchronously.
joinAwait(ClusterConfig) - Static method in interface io.scalecube.cluster.Cluster
Init cluster instance with the given configuration and join cluster synchronously.

L

listen() - Method in interface io.scalecube.cluster.Cluster
 
listen() - Method in class io.scalecube.cluster.fdetector.FailureDetector
 
listen() - Method in interface io.scalecube.cluster.fdetector.IFailureDetector
Listens for results of ping checks (ALIVE/SUSPECT) done periodically by failure detector.
listen() - Method in class io.scalecube.cluster.gossip.GossipProtocol
 
listen() - Method in interface io.scalecube.cluster.gossip.IGossipProtocol
Listens for gossips from other cluster members.
listen() - Method in interface io.scalecube.cluster.membership.IMembershipProtocol
Listen changes in cluster membership.
listen() - Method in class io.scalecube.cluster.membership.MembershipProtocol
 
listenAddress(String) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
listenGossips() - Method in interface io.scalecube.cluster.Cluster
Listens for gossips from other cluster members.
listenInterface(String) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
listenMembership() - Method in interface io.scalecube.cluster.Cluster
Listen changes in cluster membership.

M

maxMessagesPerGossipPerNode(int, int, int) - Static method in class io.scalecube.cluster.ClusterMath
 
maxMessagesPerGossipTotal(int, int, int) - Static method in class io.scalecube.cluster.ClusterMath
 
member() - Method in interface io.scalecube.cluster.Cluster
Returns local cluster member which corresponds to this cluster instance.
member(String) - Method in interface io.scalecube.cluster.Cluster
Returns cluster member with given id or null if no member with such id exists at joined cluster.
member(Address) - Method in interface io.scalecube.cluster.Cluster
Returns cluster member by given address or null if no member with such address exists at joined cluster.
member() - Method in class io.scalecube.cluster.fdetector.FailureDetectorEvent
 
Member - Class in io.scalecube.cluster
Cluster member which represents node in the cluster and contains its id, address and metadata.
Member(String, Address) - Constructor for class io.scalecube.cluster.Member
Create instance of cluster member with given id, address and empty metadata.
Member(String, Address, Map<String, String>) - Constructor for class io.scalecube.cluster.Member
Create instance of cluster member with given parameters.
member() - Method in interface io.scalecube.cluster.membership.IMembershipProtocol
Returns local cluster member.
member() - Method in class io.scalecube.cluster.membership.MembershipEvent
 
member() - Method in class io.scalecube.cluster.membership.MembershipProtocol
 
members() - Method in interface io.scalecube.cluster.Cluster
Returns list of all members of the joined cluster.
MEMBERSHIP_GOSSIP - Static variable in class io.scalecube.cluster.membership.MembershipProtocol
 
MembershipConfig - Interface in io.scalecube.cluster.membership
 
MembershipEvent - Class in io.scalecube.cluster.membership
Event which is emitted on cluster membership changes when new member added or removed from cluster.
MembershipEvent.Type - Enum in io.scalecube.cluster.membership
 
MembershipProtocol - Class in io.scalecube.cluster.membership
 
MembershipProtocol(Transport, MembershipConfig) - Constructor for class io.scalecube.cluster.membership.MembershipProtocol
Creates new instantiates of cluster membership protocol with given transport and config.
MemberStatus - Enum in io.scalecube.cluster.membership
 
metadata(Map<String, String>) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
metadata() - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
metadata() - Method in class io.scalecube.cluster.Member
 

N

networkEmulator() - Method in interface io.scalecube.cluster.Cluster
Returns network emulator associated with this instance of cluster.
newMember() - Method in class io.scalecube.cluster.membership.MembershipEvent
 

O

oldMember() - Method in class io.scalecube.cluster.membership.MembershipEvent
 
otherMembers() - Method in interface io.scalecube.cluster.Cluster
Returns list of all cluster members of the joined cluster excluding local member.

P

PING - Static variable in class io.scalecube.cluster.fdetector.FailureDetector
 
PING_ACK - Static variable in class io.scalecube.cluster.fdetector.FailureDetector
 
PING_REQ - Static variable in class io.scalecube.cluster.fdetector.FailureDetector
 
pingInterval(int) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
pingReqMembers(int) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
pingTimeout(int) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
port(int) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
portAutoIncrement(boolean) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 

S

seedMembers(Address...) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
seedMembers(List<Address>) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
send(Member, Message) - Method in interface io.scalecube.cluster.Cluster
 
send(Member, Message, CompletableFuture<Void>) - Method in interface io.scalecube.cluster.Cluster
 
send(Address, Message) - Method in interface io.scalecube.cluster.Cluster
 
send(Address, Message, CompletableFuture<Void>) - Method in interface io.scalecube.cluster.Cluster
 
setFailureDetector(IFailureDetector) - Method in class io.scalecube.cluster.membership.MembershipProtocol
 
setGossipProtocol(IGossipProtocol) - Method in class io.scalecube.cluster.membership.MembershipProtocol
 
shutdown() - Method in interface io.scalecube.cluster.Cluster
Member notifies other members of the cluster about leaving and gracefully shutdown and free occupied resources.
spread(Message) - Method in class io.scalecube.cluster.gossip.GossipProtocol
 
spread(Message) - Method in interface io.scalecube.cluster.gossip.IGossipProtocol
Spreads given message between cluster members.
spreadGossip(Message) - Method in interface io.scalecube.cluster.Cluster
Spreads given message between cluster members using gossiping protocol.
start() - Method in class io.scalecube.cluster.fdetector.FailureDetector
 
start() - Method in interface io.scalecube.cluster.fdetector.IFailureDetector
Starts running failure detection algorithm.
start() - Method in class io.scalecube.cluster.gossip.GossipProtocol
 
start() - Method in interface io.scalecube.cluster.gossip.IGossipProtocol
Starts running gossip protocol.
start() - Method in class io.scalecube.cluster.membership.MembershipProtocol
Starts running cluster membership protocol.
status() - Method in class io.scalecube.cluster.fdetector.FailureDetectorEvent
 
stop() - Method in class io.scalecube.cluster.fdetector.FailureDetector
 
stop() - Method in interface io.scalecube.cluster.fdetector.IFailureDetector
Stops running failure detection algorithm and releases occupied resources.
stop() - Method in class io.scalecube.cluster.gossip.GossipProtocol
 
stop() - Method in interface io.scalecube.cluster.gossip.IGossipProtocol
Stops running gossip protocol and releases occupied resources.
stop() - Method in class io.scalecube.cluster.membership.MembershipProtocol
Stops running cluster membership protocol and releases occupied resources.
suspicionMult(int) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
suspicionTimeout(int, int, long) - Static method in class io.scalecube.cluster.ClusterMath
 
SYNC - Static variable in class io.scalecube.cluster.membership.MembershipProtocol
 
SYNC_ACK - Static variable in class io.scalecube.cluster.membership.MembershipProtocol
 
syncGroup(String) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
syncInterval(int) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 
syncTimeout(int) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 

T

toString() - Method in class io.scalecube.cluster.ClusterConfig
 
toString() - Method in class io.scalecube.cluster.fdetector.FailureDetectorEvent
 
toString() - Method in class io.scalecube.cluster.Member
 
toString() - Method in class io.scalecube.cluster.membership.MembershipEvent
 
transportConfig(TransportConfig) - Method in class io.scalecube.cluster.ClusterConfig.Builder
Sets all transport config settings equal to provided transport config.
type() - Method in class io.scalecube.cluster.membership.MembershipEvent
 

U

updateMetadata(Map<String, String>) - Method in interface io.scalecube.cluster.Cluster
Updates local member metadata with the given metadata map.
updateMetadata(Map<String, String>) - Method in interface io.scalecube.cluster.membership.IMembershipProtocol
Updates local member metadata.
updateMetadata(Map<String, String>) - Method in class io.scalecube.cluster.membership.MembershipProtocol
 
updateMetadataProperty(String, String) - Method in interface io.scalecube.cluster.Cluster
Updates single key-value pair of local member's metadata.
updateMetadataProperty(String, String) - Method in interface io.scalecube.cluster.membership.IMembershipProtocol
Updates local member metadata to set given key and value.
updateMetadataProperty(String, String) - Method in class io.scalecube.cluster.membership.MembershipProtocol
 
useNetworkEmulator(boolean) - Method in class io.scalecube.cluster.ClusterConfig.Builder
 

V

valueOf(String) - Static method in enum io.scalecube.cluster.membership.MembershipEvent.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.scalecube.cluster.membership.MemberStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.scalecube.cluster.membership.MembershipEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.scalecube.cluster.membership.MemberStatus
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J L M N O P S T U V 
Skip navigation links

Copyright © 2015–2017. All rights reserved.