Search in sources :

Example 1 with BufferedCommitInfo

use of com.zimbra.soap.admin.type.BufferedCommitInfo in project zm-mailbox by Zimbra.

the class AllAccountsWaitSet method handleQuery.

@Override
public synchronized WaitSetInfo handleQuery() {
    WaitSetInfo info = super.handleQuery();
    info.setCbSeqNo(mCbSeqNo);
    info.setCurrentSeqNo(mCurrentSeqNo);
    info.setNextSeqNo(mNextSeqNo);
    if (mBufferedCommits != null) {
        for (Pair<String, String> p : mBufferedCommits) {
            info.addBufferedCommit(new BufferedCommitInfo(p.getFirst(), p.getSecond()));
        }
    }
    return info;
}
Also used : WaitSetInfo(com.zimbra.soap.admin.type.WaitSetInfo) BufferedCommitInfo(com.zimbra.soap.admin.type.BufferedCommitInfo)

Aggregations

BufferedCommitInfo (com.zimbra.soap.admin.type.BufferedCommitInfo)1 WaitSetInfo (com.zimbra.soap.admin.type.WaitSetInfo)1