Interface ModifiableMemory<T>
- Type Parameters:
T- The type of objects that the chunks in this memory can represents.
- All Superinterfaces:
Memory<T>
- All Known Implementing Classes:
SortedListMemory
public interface ModifiableMemory<T> extends Memory<T>
A memory to which chunks can be added.
Note that chunks cannot be removed from memory explicitly as they might become available later after they have been re-activated.
- Since:
- 1.1.0
-
Method Summary
-
Method Details
-
add
- Parameters:
timestamp- the point in time at which the addition occurs (in the format returned bySystem.currentTimeMillis()
-
addAll
- Parameters:
timestamp- the point in time at which the addition occurs (in the format returned bySystem.currentTimeMillis()
-