public interface ICache
Modifier and Type | Field and Description |
---|---|
static int |
REALTIME
the value to pass to setLevel() to turn off caching
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
deleteFile()
delete the cache file
|
IReader |
getReader()
Returns an object that can be used to read the cache file
|
void |
setLevel(int level) |
void |
stopCaching()
drain the queue and stop the thread.
|
void |
stopCaching(boolean waitFlag)
drain the queue and stop the thread.
|
boolean |
write(com.ibm.rational.test.lt.kernel.logging.impl.AbstractHistory.TrackedExecutionEvent trackedEvent,
int level)
accepts TrackedExecutionEvent object and queues it for writing to the file.
|
boolean write(com.ibm.rational.test.lt.kernel.logging.impl.AbstractHistory.TrackedExecutionEvent trackedEvent, int level)
trackedEvent
- the object to cachelevel
- the level of this dataIReader getReader()
void deleteFile()
void stopCaching()
void stopCaching(boolean waitFlag)
waitFlag
- void close()
void setLevel(int level)
© Copyright IBM Corp. 2013. All rights reserved.