JTemporal Home
Tutorial

Package net.sf.jtemporal.spi

Interfaces and implementations of storages.

See:
          Description

Interface Summary
LazyTemporalAttributeStorage.ChangeHandler<V> Applies the changes on the underlying data source.
LazyTemporalAttributeStorage.MissingRangeHandler<V> Loads the data from the real physical storage into the the LazyTemporalAttributeStorage cache, when additional data is requested.
PeriodStorage A storage for periods (sorted).
TemporalAttributeStorage Defines the contract the storage must fulfil to store and retrieve values.
TemporalSetStorage Defines the contract the storage must fulfil to store and retrieve values.
TimedObjectFactory<V> Creates and destroys a TimedObject, used typically by ORMTemporalAttributeStorage to ask to the ORM tool to add or remove a row to the database.
 

Class Summary
CompactPeriodStorage A sorted storage for Periods, intended to allocate a small amount of memory; fast for small collections, but does not scale well for insertions in large collections.
CompactTemporalSetStorage Uses a HashMap containing CompactPeriodStorages
Note: this implementation is not synchronized.
LazyTemporalAttributeStorage<V> This storage is based on a cache whose size grows lazily, until all the underlying data is in the cache.
ORMTemporalAttributeStorage<V> An implementation of TemporalAttributeStorage#, based on a TreeMap, mapped by an ORM tool.
StartComparator Compares Periods and Instants by using the Period start instant.
TemporalAttributeStorageProxy A skeletont for building a proxy.
TreeTemporalAttributeStorage A transient implementation of TemporalAttributeStorage#, based on a TreeMap.
 

Package net.sf.jtemporal.spi Description

Interfaces and implementations of storages.


JTemporal Home
Tutorial