Chronicle-Map icon indicating copy to clipboard operation
Chronicle-Map copied to clipboard

overwrite or time-to-live feature

Open MarshalOfficial opened this issue 4 years ago • 0 comments

does ChronicleMap have the ability to overwrite when data is full? or can it has time-to-live, that when the time exceeds that value removes from entries?

this.requestIdLog = ChronicleMap.of(String.class, String.class)
            .name("requestId-clientId-log-map")
            .entries(20_000_000)
            .averageKeySize(1)
            .averageValue(new String())
            .create();

MarshalOfficial avatar Apr 11 '22 12:04 MarshalOfficial