H2FileCache
A cache on file in the local file system. It deletes the DB in the file on exit.
The file will be created in a temporary folder (IAS_TMP or, if not defined the temporary folder as returned by the java.io.tmpdir property)
Attributes
- Graph
 - 
    
 - Supertypes
 - 
    trait Serializabletrait Producttrait Equalsclass H2NVCachetrait NonVolatileCacheclass Objecttrait Matchableclass AnyShow all
 
Members list
Value members
Inherited methods
Empty the cache
Remove an object from the cache
Remove an object from the cache
Value parameters
- key
 - 
               
The key of the object to remove
 
Attributes
- Returns
 - 
               
True if the object has been removed, False otherwise (for example the object was not in the cache)
 - Definition Classes
 - Inherited from:
 - H2NVCache
 
Get an object from the cache
Get an object from the cache
Value parameters
- key
 - 
               
The key of the object
 
Attributes
- Returns
 - 
               
The Object in the cache if it exists, empty otherwise
 - Definition Classes
 - Inherited from:
 - H2NVCache
 
Check if the table already exists in the DB
Check if the table already exists in the DB
Attributes
- Returns
 - 
               
true if the table exists, false otherwise
 - Inherited from:
 - H2NVCache
 
Collects all keys of this map in a set
Attributes
- Inherited from:
 - Product
 
Attributes
- Inherited from:
 - Product
 
Puts/update a value in the cache
Puts/update a value in the cache
Value parameters
- key
 - 
               
The unique key to identify the object
 - value
 - 
               
: The string to store in the cache
 
Attributes
- Returns
 - 
               
true if the object has been stored in the cache, false otherwise
 - Definition Classes
 - Inherited from:
 - H2NVCache
 
Attributes
- Returns
 - 
               
the number of objects in the cache (both in memory and persisted)
 - Definition Classes
 - Inherited from:
 - H2NVCache
 
Inherited fields
The name of the file(s) used by H2