|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStoreMemberInitCompleteEvent
Represents the event notifying that a member initialization is complete.
This event is dispatched in the following situations:
1. On primary members after initialization from the persister is complete
2. On primary members when a new member joining the store has been
successfully initialized. It follows the IStoreMemberUpEvent
for the new member.
3. On standalone receiver members after initialization from the persister
is complete
4. On backup members after initialization from the the primary is complete.
It follows the IStoreMemberUpEvent
for the primary member.
The user should listen for the IStoreBindingRoleChangedEvent
to
keep track of its role and appropriately interpret this event or compare
the member reported in this event with the member returned by the
IStoreBinding.getMember()
method to interpret the event.
Method Summary | |
---|---|
long |
getLastTransactionId()
Get the last transaction id. |
IStoreMember |
getMember()
Get the initialized member. |
Methods inherited from interface com.neeve.ods.IStoreEvent |
---|
getSource |
Methods inherited from interface com.neeve.event.lifecycle.ILifecycleEvent |
---|
getBackingMessage, getEventTime, setBackingMessage |
Methods inherited from interface com.neeve.event.IEvent |
---|
acquire, dispose, getAcknowledger, getAttachment, getDelay, getDispatchTime, getInstanceNumber, getRemainingTime, getScheduledTime, getType, isEndOfBatch, isHandled, owners, setAcknowledger, setAttachment, setDelay, setEndOfBatch, setHandled, setSource |
Methods inherited from interface com.neeve.util.UtlReferenceTracker.HasReferenceTracker |
---|
referenceTracker |
Method Detail |
---|
IStoreMember getMember()
When dispatched on primary members, the member returned by this method
will be the member initialized by the primary. This will be 'self' i.e.
the member returned by IStoreBinding.getMember()
when the event
is dispatched to notify of the completion of the primary's initialization
from the persister or the backup member when the event is dispatched
to notify of the completion of the initialization of a backup member
joining the store. When dispatched on standalone receiver members or
backup members, this field will always be self i.e. the member returned
by IStoreBinding.getMember()
. Thus, this field can be used to
determine whether the event was dispatched as a result of 'self' being
initialized as a backup or another member in the cluster being initialized
by 'self'.
long getLastTransactionId()
This field contains the id of the last transaction that was dispatched during the initialization process.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |