com.hazelcast.cluster
public interface Joiner
Modifier and Type | Method and Description |
---|---|
void |
blacklist(Address address,
boolean permanent)
Adds an address to the blacklist.
|
long |
getStartTime() |
String |
getType() |
boolean |
isBlacklisted(Address address)
Checks if an address is blacklisted.
|
void |
join() |
void |
reset() |
void |
searchForOtherClusters() |
void |
setTargetAddress(Address targetAddress) |
boolean |
unblacklist(Address address)
Removes an address from the blacklist if it's temporarily blacklisted.
|
void join()
void searchForOtherClusters()
long getStartTime()
void setTargetAddress(Address targetAddress)
void reset()
String getType()
void blacklist(Address address, boolean permanent)
unblacklist(com.hazelcast.nio.Address)
.
Method is thread-safe.
If the address already is blacklisted, the call is ignoredaddress
- the address to blacklist.permanent
- if blacklist is permanent or notNullPointerException
- if address is null.isBlacklisted(com.hazelcast.nio.Address)
boolean unblacklist(Address address)
address
- the address to unblacklist.boolean isBlacklisted(Address address)
address
- the address to check.NullPointerException
- if address is null.blacklist(com.hazelcast.nio.Address, boolean)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.