public static interface TestResultCache.Observer
Modifier and Type | Method and Description |
---|---|
void |
acquiredLock()
Called when the cache has been locked.
|
void |
buildingCache(boolean reset)
Called when starting to (re)build the cache.
|
void |
buildingCache(TestResult tr)
Called when a test has been found to put in the cache.
|
void |
builtCache()
Called when the cache has been (re)built.
|
void |
error(java.lang.Throwable t)
Called when a serious error has occurred and the cache is unable to continue.
|
void |
releasedLock()
Called when the lock on the cache has been released.
|
void |
timeoutWaitingForLock()
Called when the timed out waiting for access to the cache.
|
void |
update(java.util.Map tests)
Called when tests have been read from the cache file.
|
void |
waitingForLock(long timeSoFar)
Called periodically while waiting to access the cache.
|
void update(java.util.Map tests)
tests
- the tests that have been readvoid waitingForLock(long timeSoFar)
timeSoFar
- the time so far that a client has been waiting to
access the cachevoid timeoutWaitingForLock()
void acquiredLock()
void releasedLock()
void buildingCache(boolean reset)
reset
- currently, always truevoid buildingCache(TestResult tr)
tr
- the test that is being put in the cachevoid builtCache()
void error(java.lang.Throwable t)
t
- an object identifying the error that occurredCopyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.