Allow persistency duration to be equal to window duration.
Duration must be greater than 0.
Cleanup.
Use persistedDuration for hashCode/equals/toString.
Added new tests.
Fixed wrong initialization.
Fixed another wrong initialization.
Updated example files.
Refactoring.
Added tests about maxSamples values.
API consolidation. Improved contract documentation.
Fixed consolidators so that they don't rely on accumulate call order.
Open for extension.
Do not control StorageFactory life cycle from Database.
Close TimeSeries when needed.
Some cleanup. Let TimeSeries manage id unicity.
Let TimeSeries manage id unicity.
Moved delete to TimeSeries.
Cleanup.