public class PendingPollEvent extends PollEvent
| Constructor and Description | 
|---|
PendingPollEvent(IEvent event)
Constructor for PendingPollEvent. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPending(Runnable r)
addPending 
 | 
void | 
complete(IEvent e)
Changes the state of this event from "pending" to "not pending". 
 | 
Date | 
getDate()
getDate 
 | 
IEvent | 
getEvent()
getEvent 
 | 
int | 
getEventId()
getEventId 
 | 
boolean | 
isPending()
isPending 
 | 
void | 
processPending()
Synchronously processes all pending tasks attached to this event. 
 | 
String | 
toString()  | 
getScope, hasLargerScopeThan, hasSameScope, hasScopeLargerThan, hasScopeSmallerThan, hasSmallerScopeThan, isInterfaceDown, isNodeDown, isNodeLostService, withLargestScopepublic Date getDate()
getDate
public int getEventId()
getEventId
getEventId in class PollEventpublic boolean isPending()
isPending
public void complete(IEvent e)
DefaultPollContext.onEvent(IEvent)
 threads.e - a IEvent object.public void processPending()
DefaultPollContext#onEvent(Event)
 threads.Copyright © 2020. All rights reserved.