Search in sources :

Example 1 with IndexStatsInfo

use of com.zimbra.cs.account.soap.SoapProvisioning.IndexStatsInfo in project zm-mailbox by Zimbra.

the class ProvUtil method doGetIndexStats.

private void doGetIndexStats(String[] args) throws ServiceException {
    if (!(prov instanceof SoapProvisioning)) {
        throwSoapOnly();
    }
    SoapProvisioning sp = (SoapProvisioning) prov;
    Account acct = lookupAccount(args[1]);
    IndexStatsInfo stats = sp.getIndexStats(acct);
    console.printf("stats: maxDocs:%d numDeletedDocs:%d\n", stats.getMaxDocs(), stats.getNumDeletedDocs());
}
Also used : SoapProvisioning(com.zimbra.cs.account.soap.SoapProvisioning) IndexStatsInfo(com.zimbra.cs.account.soap.SoapProvisioning.IndexStatsInfo)

Aggregations

SoapProvisioning (com.zimbra.cs.account.soap.SoapProvisioning)1 IndexStatsInfo (com.zimbra.cs.account.soap.SoapProvisioning.IndexStatsInfo)1