public interface DatabaseCache
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the cache.
|
void |
clear(Chronicle chronicle)
Remove a chronicle from the cache if present.
|
void |
clear(Property<?> property)
Remove a property from the cache if present.
|
void |
clear(Schema schema)
Remove a schema from the cache if present.
|
void |
clear(ValueType<?> valueType)
Remove a value type from the cache if present.
|
ChronicleImpl |
lookUpChronicle(String name)
Look up a chronicle in the cache by name.
|
ChronicleImpl |
lookUpChronicle(Surrogate surrogate)
Look up a chronicle in the cache.
|
Property<?> |
lookUpProperty(String name)
Look up a property in the cache by name.
|
int |
size()
Return the number of chronicles currently in the cache.
|
ChronicleImpl |
store(ChronicleImpl chronicle)
Store a chronicle in the cache and return a copy.
|
ChronicleImpl lookUpChronicle(Surrogate surrogate)
surrogate - a chronicle surrogateChronicleImpl lookUpChronicle(String name)
name - a stringProperty<?> lookUpProperty(String name) throws T2DBException
name - a stringT2DBExceptionChronicleImpl store(ChronicleImpl chronicle) throws T2DBException
chronicle - a chronicleT2DBExceptionint size()
void clear(Chronicle chronicle)
chronicle - a chroniclevoid clear(Schema schema)
schema - a schemavoid clear(Property<?> property)
property - a propertyvoid clear(ValueType<?> valueType)
valueType - a valueTypevoid clear()
Copyright © 2017. All rights reserved.