Protected Member Functions | |
LogOperations | getLogService (Manager manager, int managerHandle) |
void | prepareRemoteLogging () |
Package Functions | |
ClientLogManagerStandalone (CountDownLatch syncOnPrepareRemoteLogging) | |
void | setDelayMillis (long delayMillis) |
void | delay () |
Private Attributes | |
final CountDownLatch | syncOnPrepareRemoteLogging |
volatile long | delayMillis = 100 |
final LogOperations | logServiceMock |
|
Constructor.
|
|
Sleeps for the time given in setDelayMillis(long)}. |
|
This is called by ClientLogManager::initRemoteLogging(ORB, Manager, int, boolean)} and simulates the access to the Log service by sleeping via delay()}. Reimplemented from alma::acs::logging::ClientLogManager.
|
|
Overloaded only to allow clients to sync with execution of initRemoteLogging(ORB, Manager, int, boolean). Reimplemented from alma::acs::logging::ClientLogManager.
|
|
Sets the delay in milliseconds which subsequent calls to delay() will sleep for. Default is 100 ms if this method does not get called. |
|
|
|
Initial value: Mock impl of the Log service. All methods are total no-ops, except for which prints the xml log records contained in the given Any objects to stdout, and simulates network delay by sleeping via a call to #delay(). |
|
|