Helper functions.

This commit is contained in:
JoelKatz
2013-01-11 14:21:31 -08:00
parent 7d7d2bc46b
commit d14d8cbf76
4 changed files with 24 additions and 0 deletions

View File

@@ -798,4 +798,10 @@ void LedgerAcquireMaster::sweep()
}
}
int LedgerAcquire::getFetchCount()
{
boost::mutex::scoped_lock sl(mLock);
return mLedgers.size();
}
// vim:ts=4