public interface ReplicatedObject<K extends Serializable>
| Modifier and Type | Method and Description |
|---|---|
void |
droppedMembers(Collection<Serializable> addresses)
Called when members are dropped
|
void |
getState(K state_id,
OutputStream ostream)
Allows an application to write a partial state through a provided OutputStream.
|
void |
getState(OutputStream ostream)
Allows an application to write a state through a provided OutputStream.
|
boolean |
hasState(K state_id)
Return true if the object has the given state
|
void |
setAddress(Serializable address)
Allows the replicator to set the local address from the channel
|
void |
setState(InputStream istream)
Allows an application to read a state through a provided InputStream.
|
void |
setState(K state_id,
InputStream istream)
Allows an application to read a partial state through a provided InputStream.
|
void getState(OutputStream ostream)
ostream - the OutputStreamvoid getState(K state_id, OutputStream ostream)
state_id - id of the partial state requestedostream - the OutputStreamvoid setState(InputStream istream)
istream - the InputStreamvoid setState(K state_id, InputStream istream)
state_id - id of the partial state requestedistream - the InputStreamvoid setAddress(Serializable address)
address - void droppedMembers(Collection<Serializable> addresses)
addresses - boolean hasState(K state_id)
state_id - Copyright © 2018 JBoss by Red Hat. All rights reserved.