Modifier and Type | Method and Description |
---|---|
void |
MailboxListenerSupport.addGlobalListener(MailboxListener listener,
MailboxSession session)
Add a
MailboxListener which get fired for ever
MailboxPath |
void |
MailboxListenerSupport.addListener(MailboxPath mailboxPath,
MailboxListener listener,
MailboxSession session)
Implementations of Mailbox may interpret the fact that someone is
listening and do some caching and even postpone persistence until
everyone has removed itself.
|
void |
MailboxListenerSupport.removeGlobalListener(MailboxListener listner,
MailboxSession session)
Remove the
MailboxListener |
void |
MailboxListenerSupport.removeListener(MailboxPath mailboxPath,
MailboxListener listner,
MailboxSession session)
Remove the
MailboxListener |
Modifier and Type | Class and Description |
---|---|
class |
LuceneMessageSearchIndex<Id>
Lucene based
ListeningMessageSearchIndex which offers message searching via a Lucene index |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDelegatingMailboxListener |
class |
HashMapDelegatingMailboxListener
Receive a
MailboxListener.Event and delegate it to an other
MailboxListener depending on the registered name |
Modifier and Type | Method and Description |
---|---|
protected List<MailboxListener> |
HashMapDelegatingMailboxListener.getGlobalListeners() |
protected abstract List<MailboxListener> |
AbstractDelegatingMailboxListener.getGlobalListeners()
Return the
List which is used tos tore the global MailboxListener |
protected Map<MailboxPath,List<MailboxListener>> |
HashMapDelegatingMailboxListener.getListeners() |
protected abstract Map<MailboxPath,List<MailboxListener>> |
AbstractDelegatingMailboxListener.getListeners()
Return the
Map which is used to store the MailboxListener |
Modifier and Type | Method and Description |
---|---|
void |
StoreMailboxManager.addGlobalListener(MailboxListener listener,
MailboxSession session) |
void |
AbstractDelegatingMailboxListener.addGlobalListener(MailboxListener listener,
MailboxSession session) |
void |
StoreMailboxManager.addListener(MailboxPath path,
MailboxListener listener,
MailboxSession session) |
void |
AbstractDelegatingMailboxListener.addListener(MailboxPath path,
MailboxListener listener,
MailboxSession session) |
void |
StoreMailboxManager.removeGlobalListener(MailboxListener listener,
MailboxSession session) |
void |
AbstractDelegatingMailboxListener.removeGlobalListener(MailboxListener listener,
MailboxSession session) |
void |
StoreMailboxManager.removeListener(MailboxPath mailboxPath,
MailboxListener listener,
MailboxSession session) |
void |
AbstractDelegatingMailboxListener.removeListener(MailboxPath mailboxPath,
MailboxListener listener,
MailboxSession session) |
Constructor and Description |
---|
MailboxEventDispatcher(MailboxListener listener) |
Modifier and Type | Class and Description |
---|---|
class |
FixedQuotaManager
ListeningQuotaManager which use the same quota for all users. |
class |
ListeningQuotaManager
QuotaManager which will keep track of quota by listing for MailboxListener.Event 's. |
class |
PerUserQuotaManager<Id>
Allows to set a per Users quota
|
Modifier and Type | Class and Description |
---|---|
class |
LazyMessageSearchIndex<Id>
ListeningMessageSearchIndex implementation which wraps another ListeningMessageSearchIndex and will forward all calls to it. |
class |
ListeningMessageSearchIndex<Id>
MessageSearchIndex which needs to get registered as global MailboxListener and so get
notified about message changes. |
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.