public interface DistributableEvent extends Event
Modifier and Type | Method and Description |
---|---|
boolean |
getCreatedLocally()
Whether the event was created on this Communote instance node if running a clustered
Communote setup.
|
boolean |
isDistribute()
Whether the event needs to be distributed to other Communote nodes if running a clustered
Communote setup.
|
void |
setCreatedLocally(boolean createdLocally)
Defines whether the event was created on this Communote instance node if running a clustered
Communote setup.
|
void |
setDistribute(boolean distribute)
Defines whether the event needs to be distributed to other Communote nodes if running a
clustered Communote setup.
|
boolean getCreatedLocally()
boolean isDistribute()
void setCreatedLocally(boolean createdLocally)
createdLocally
- true if the event was created on this instance, false if it was received from
another instance because of event distributionvoid setDistribute(boolean distribute)
distribute
- true if the event has to be distributedCopyright © 2019 Communote team. All rights reserved.