public interface NodeSelectorStrategy
Modifier and Type | Method and Description |
---|---|
org.jgroups.Message |
createMessage(byte[] data)
Different message options can be applied using different constructors,
hence we delegate Message construction to the strategy.
|
boolean |
isIndexOwnerLocal()
Specifies if the current (local) node should apply
changes to the index.
|
void |
setLocalAddress(org.jgroups.Address address)
The implementation might need to know it's own address, so this
is provided at channel initial connection.
|
void |
viewAccepted(org.jgroups.View view)
Invoked by JGroups on view change.
|
boolean isIndexOwnerLocal()
void setLocalAddress(org.jgroups.Address address)
address
- the local addressvoid viewAccepted(org.jgroups.View view)
MembershipListener.viewAccepted(View)
view
- contains information on the current members of the cluster grouporg.jgroups.Message createMessage(byte[] data)
data
- the information to be sent to the master.Copyright © 2006–2016 Hibernate. All rights reserved.