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 is temporarily blacklisted.
|
void join()
void searchForOtherClusters()
long getStartTime()
void setTargetAddress(Address targetAddress)
void reset()
String getType()
void blacklist(Address address, boolean permanent)
If blacklist is permanent, then this operation is write-once. It cannot be unblacklisted again.
If blacklist is temporary, blacklist can be removed via unblacklist(Address)
.
Method is thread-safe.
If the address already is blacklisted, the call is ignored
address
- the address to blacklist.permanent
- true if blacklist is permanent, false if not.NullPointerException
- if address is null.isBlacklisted(Address)
boolean unblacklist(Address address)
Method is thread-safe.
If the address is not blacklisted, the call is ignored.
address
- the address to unblacklist.boolean isBlacklisted(Address address)
address
- the address to check.NullPointerException
- if address is null.blacklist(Address, boolean)
Copyright © 2019 Hazelcast, Inc.. All rights reserved.