public abstract class BoxIndexing
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
BoxIndexing.IndexAction |
static class |
BoxIndexing.IndexingType |
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.atomic.AtomicLong |
counter |
protected java.lang.String |
domainUid |
static java.lang.String[] |
HSM_HEADERS |
static java.lang.String |
HSM_ID |
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
BoxIndexing(java.lang.String domainUid,
BoxIndexing.IndexingType indexingType) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.atomic.AtomicLong |
getCounter() |
MailboxIndexingReport |
getReport() |
abstract void |
index(ItemValue<Mailbox> entity,
IServerTaskMonitor monitor) |
protected void |
indexSelectedFolder(SecurityContext context,
Mailbox mailbox,
Folder folder,
int nextUid,
StoreClient sc,
IServerTaskMonitor monitor) |
org.apache.james.mime4j.dom.Message |
parseMessage(SecurityContext context,
Mailbox mailbox,
Folder folder,
StoreClient sc,
Summary minfo) |
abstract void |
resync(ItemValue<Mailbox> entity,
IServerTaskMonitor monitor) |
protected void |
resyncSelectedFolder(SecurityContext context,
Mailbox mailbox,
Folder f,
int uidnext,
StoreClient sc,
IServerTaskMonitor monitor) |
java.lang.String |
toString() |
protected final org.slf4j.Logger logger
public static final java.lang.String HSM_ID
public static final java.lang.String[] HSM_HEADERS
protected final java.util.concurrent.atomic.AtomicLong counter
protected final java.lang.String domainUid
public BoxIndexing(java.lang.String domainUid, BoxIndexing.IndexingType indexingType)
public abstract void index(ItemValue<Mailbox> entity, IServerTaskMonitor monitor) throws ServerFault
ServerFault
public abstract void resync(ItemValue<Mailbox> entity, IServerTaskMonitor monitor) throws ServerFault
ServerFault
public java.util.concurrent.atomic.AtomicLong getCounter()
public MailboxIndexingReport getReport()
protected void indexSelectedFolder(SecurityContext context, Mailbox mailbox, Folder folder, int nextUid, StoreClient sc, IServerTaskMonitor monitor) throws ServerFault
ServerFault
protected void resyncSelectedFolder(SecurityContext context, Mailbox mailbox, Folder f, int uidnext, StoreClient sc, IServerTaskMonitor monitor)
public org.apache.james.mime4j.dom.Message parseMessage(SecurityContext context, Mailbox mailbox, Folder folder, StoreClient sc, Summary minfo)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2021. All Rights Reserved.