|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openexchange.mail.event.EventPool
public final class EventPool
EventPool - The mail event pool.
| Method Summary | |
|---|---|
void |
clear()
Clears the event pool. |
static EventPool |
getInstance()
Gets the event pool instance. |
static void |
initInstance()
Initializes this event pool. |
void |
put(PooledEvent pooledEvent)
Puts given pooled event into this pool. |
static void |
releaseInstance()
Releases this event pool. |
void |
removeByUser(int userId,
int contextId)
Removes all pooled events from this pool associated with given user. |
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void initInstance()
public static void releaseInstance()
public static EventPool getInstance()
public void removeByUser(int userId,
int contextId)
userId - The user IDcontextId - The context IDpublic void put(PooledEvent pooledEvent)
pooledEvent - The pooled event to put.public void clear()
public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||