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

    Modifier and Type Method Description
    void add​(long timestamp, Chunk<T> chunk)  
    void addAll​(long timestamp, Collection<Chunk<T>> chunks)  

    Methods inherited from interface de.monochromata.anaphors.cog.memory.Memory

    getChunks