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());
}
Aggregations