com::cosylab::logging::client::cache::LogBufferedFileCache::BufferedCacheItem Class Reference

Collaboration diagram for com::cosylab::logging::client::cache::LogBufferedFileCache::BufferedCacheItem:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BufferedCacheItem (ILogEntry log, String cacheString)
ILogEntry getLogEntry ()
String getLogCacheString ()

Private Attributes

ILogEntry logEntry
String logCacheString

Detailed Description

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

Author:
acaproni

Constructor & Destructor Documentation

com::cosylab::logging::client::cache::LogBufferedFileCache::BufferedCacheItem::BufferedCacheItem ( ILogEntry  log,
String  cacheString 
) [inline]

References logCacheString, and logEntry.


Member Function Documentation

String com::cosylab::logging::client::cache::LogBufferedFileCache::BufferedCacheItem::getLogCacheString (  )  [inline]
ILogEntry com::cosylab::logging::client::cache::LogBufferedFileCache::BufferedCacheItem::getLogEntry (  )  [inline]

Getter

Returns:
The log entry

References logEntry.

Referenced by com::cosylab::logging::client::cache::LogBufferedFileCache::getLog().


Member Data Documentation

Referenced by BufferedCacheItem(), and getLogEntry().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2