public class MailboxMgmt extends java.lang.Object implements IMailboxMgmt
Constructor and Description |
---|
MailboxMgmt(BmContext context,
java.lang.String domainUid) |
Modifier and Type | Method and Description |
---|---|
TaskRef |
consolidateDomain()
reindex all domain mailboxes
|
TaskRef |
consolidateMailbox(java.lang.String mailboxUid)
consolidate a single mailbox index
|
java.util.List<ShardStats> |
getShardsStats() |
TaskRef |
moveDataLocation(java.lang.String mailboxUid,
java.lang.String serverUid) |
TaskRef |
moveIndex(java.lang.String mailboxUid,
java.lang.String indexName)
move ES index
|
TaskRef |
reconstructDomain()
reindex all domain mailboxes
|
TaskRef |
reconstructMailbox(java.lang.String mailboxUid)
reconstruct a single mailbox index
|
TaskRef |
rewriteAcls()
reset and rewrite all ACLs
|
public MailboxMgmt(BmContext context, java.lang.String domainUid)
public TaskRef reconstructMailbox(java.lang.String mailboxUid) throws ServerFault
IMailboxMgmt
reconstructMailbox
in interface IMailboxMgmt
ServerFault
public TaskRef consolidateMailbox(java.lang.String mailboxUid) throws ServerFault
IMailboxMgmt
consolidateMailbox
in interface IMailboxMgmt
ServerFault
public TaskRef reconstructDomain() throws ServerFault
IMailboxMgmt
reconstructDomain
in interface IMailboxMgmt
ServerFault
public TaskRef consolidateDomain() throws ServerFault
IMailboxMgmt
consolidateDomain
in interface IMailboxMgmt
ServerFault
public TaskRef rewriteAcls() throws ServerFault
IMailboxMgmt
rewriteAcls
in interface IMailboxMgmt
ServerFault
public TaskRef moveIndex(java.lang.String mailboxUid, java.lang.String indexName) throws ServerFault
IMailboxMgmt
moveIndex
in interface IMailboxMgmt
indexName
- indexName must start with mailspool. ex mailspool_2ServerFault
public java.util.List<ShardStats> getShardsStats()
getShardsStats
in interface IMailboxMgmt
ShardStats
ordered by ShardStats.docCount
public TaskRef moveDataLocation(java.lang.String mailboxUid, java.lang.String serverUid) throws ServerFault
moveDataLocation
in interface IMailboxMgmt
ServerFault
Copyright © 2021. All Rights Reserved.