com.hazelcast.cluster
Class AbstractJoiner

java.lang.Object
  extended by com.hazelcast.cluster.AbstractJoiner
All Implemented Interfaces:
Joiner
Direct Known Subclasses:
MulticastJoiner, TcpIpJoiner

public abstract class AbstractJoiner
extends Object
implements Joiner


Field Summary
protected  Config config
           
protected  com.hazelcast.logging.ILogger logger
           
protected  com.hazelcast.instance.Node node
           
protected  com.hazelcast.logging.SystemLogService systemLogService
           
 
Constructor Summary
AbstractJoiner(com.hazelcast.instance.Node node)
           
 
Method Summary
protected  void connectAndSendJoinRequest(Collection<com.hazelcast.nio.Address> colPossibleAddresses)
           
abstract  void doJoin(AtomicBoolean joined)
           
protected  void failedJoiningToMaster(boolean multicast, int tryCount)
           
 long getStartTime()
           
 com.hazelcast.nio.Address getTargetAddress()
           
 void join(AtomicBoolean joined)
           
 void reset()
           
 void setTargetAddress(com.hazelcast.nio.Address targetAddress)
           
protected  void startClusterMerge(com.hazelcast.nio.Address targetAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hazelcast.cluster.Joiner
getType, searchForOtherClusters
 

Field Detail

config

protected final Config config

node

protected final com.hazelcast.instance.Node node

logger

protected final com.hazelcast.logging.ILogger logger

systemLogService

protected final com.hazelcast.logging.SystemLogService systemLogService
Constructor Detail

AbstractJoiner

public AbstractJoiner(com.hazelcast.instance.Node node)
Method Detail

doJoin

public abstract void doJoin(AtomicBoolean joined)

join

public void join(AtomicBoolean joined)
Specified by:
join in interface Joiner

failedJoiningToMaster

protected void failedJoiningToMaster(boolean multicast,
                                     int tryCount)

connectAndSendJoinRequest

protected void connectAndSendJoinRequest(Collection<com.hazelcast.nio.Address> colPossibleAddresses)

reset

public void reset()
Specified by:
reset in interface Joiner

startClusterMerge

protected void startClusterMerge(com.hazelcast.nio.Address targetAddress)

getStartTime

public final long getStartTime()
Specified by:
getStartTime in interface Joiner

setTargetAddress

public void setTargetAddress(com.hazelcast.nio.Address targetAddress)
Specified by:
setTargetAddress in interface Joiner

getTargetAddress

public com.hazelcast.nio.Address getTargetAddress()


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.