
Public Member Functions | |
| BufferedCacheItem (ILogEntry log, String cacheString) | |
| ILogEntry | getLogEntry () |
| String | getLogCacheString () |
Private Attributes | |
| ILogEntry | logEntry |
| String | logCacheString |
Objects of this class represent an entry of the buffer. For each log, the string to write on disk is also stored This allows 1 to know the size of the file on disk taking in account the size of the buffer 2 to convert only once the log in a cache string
| com::cosylab::logging::client::cache::LogBufferedFileCache::BufferedCacheItem::BufferedCacheItem | ( | ILogEntry | log, | |
| String | cacheString | |||
| ) | [inline] |
References logCacheString, and logEntry.
| String com::cosylab::logging::client::cache::LogBufferedFileCache::BufferedCacheItem::getLogCacheString | ( | ) | [inline] |
Getter
References logCacheString.
Referenced by com::cosylab::logging::client::cache::LogBufferedFileCache::add(), com::cosylab::logging::client::cache::LogBufferedFileCache::deleteLog(), com::cosylab::logging::client::cache::LogBufferedFileCache::deleteLogs(), com::cosylab::logging::client::cache::LogBufferedFileCache::flushBuffer(), and com::cosylab::logging::client::cache::LogBufferedFileCache::replaceLog().
| ILogEntry com::cosylab::logging::client::cache::LogBufferedFileCache::BufferedCacheItem::getLogEntry | ( | ) | [inline] |
Getter
References logEntry.
Referenced by com::cosylab::logging::client::cache::LogBufferedFileCache::getLog().
String com::cosylab::logging::client::cache::LogBufferedFileCache::BufferedCacheItem::logCacheString [private] |
Referenced by BufferedCacheItem(), and getLogCacheString().
ILogEntry com::cosylab::logging::client::cache::LogBufferedFileCache::BufferedCacheItem::logEntry [private] |
Referenced by BufferedCacheItem(), and getLogEntry().
1.6.2