Package com.iizix
Class WriteCache
java.lang.Object
com.iizix.WriteCache
This class is used to handle writing strings to the cache used from the server to the client in transactions.
- Author:
- Christopher Mindus
- See Also:
- Constructor SummaryConstructorsConstructorDescriptionCreates the write cache initialized to hold a defined maximum amount of strings.- WriteCache- (int maxCount, int minLength, int maxLength) Creates the write cache initialized to hold a defined maximum amount of strings.
- Method Summary
- Constructor Details- WriteCachepublic WriteCache()Creates the write cache initialized to hold a defined maximum amount of strings. The default values for the cache are used, i.e. maxCount=700, minLength=7, maxLength=200.
- WriteCachepublic WriteCache- (int maxCount, int minLength, int maxLength) Creates the write cache initialized to hold a defined maximum amount of strings.- Parameters:
- maxCount- Maximum count of strings in the cache.
- minLength- The minimum length of a string in the cache.
- maxLength- The maximum length of a string in the cache.
 
 
- Method Details- dumpCacheDumps the cache.- Parameters:
- indent- The indent for each line after the header, i.e. all lines listing cached items.
- Returns:
- The dumped cache.