Interface IMailboxMgmt
@Path("/mgmt/mailbox/{domainUid}")
public interface IMailboxMgmt
-
Method Summary
Modifier and TypeMethodDescriptionaddIndexToRing(Integer numericIndex) reindex all domain mailboxesconsolidateMailbox(String mailboxUid) consolidate a single mailbox aliasdeleteIndexFromRing(Integer numericIndex) voidmove ES indexresetMailbox(String mailboxUid) reset a single mailbox aliasrespawnMailbox(String mailboxUid) respawn a single mailbox alias into a new shard
-
Method Details
-
consolidateMailbox
-
resetMailbox
-
respawnMailbox
-
consolidateDomain
@POST @Path("_consolidate") TaskRef consolidateDomain() throws net.bluemind.core.api.fault.ServerFaultreindex all domain mailboxes- Returns:
- Throws:
net.bluemind.core.api.fault.ServerFault
-
moveIndex
@POST @Path("{mailboxUid}/_move_index") TaskRef moveIndex(@PathParam("mailboxUid") String mailboxUid, @QueryParam("index") String indexName, @QueryParam("deleteSource") boolean deleteSource) throws net.bluemind.core.api.fault.ServerFault move ES index- Parameters:
mailboxUid-indexName- indexName must start with mailspool. ex mailspool_2deleteSource-- Returns:
- Throws:
net.bluemind.core.api.fault.ServerFault
-
addIndexToRing
-
deleteIndexFromRing
-
move
-
getShardsStats
- Returns:
- list of
ShardStatsordered bySimpleShardStats.docCount
-
getLiteStats
- Returns:
- list of
ShardStatsordered bySimpleShardStats.docCount
-