#
Junjie
10 天以前 dc3f9cc91759823ce59486f19b138be4b296a0f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.zy.asrs.domain.replay;
 
import lombok.Data;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
 
@Data
public class ReplaySessionContext implements Serializable {
 
    private String sessionId;
    private String day;
    private Long createdAtMs;
    private Long lastAccessAtMs;
    private volatile Long startTimeMs;
    private volatile Long endTimeMs;
    private volatile Long windowStartTimeMs;
    private volatile Long windowEndTimeMs;
    private volatile List<Map<String, Object>> timelineChunks = new ArrayList<>();
    private volatile Map<String, DeviceReplayManifest> manifestByStream = new LinkedHashMap<>();
    private volatile Map<Integer, List<String>> chunkStreamIdsByChunk = new LinkedHashMap<>();
    private Map<Integer, ReplayChunk> chunkCache = new LinkedHashMap<>(16, 0.75f, true);
    private Map<Integer, ReplayChunk> compactChunkCache = new LinkedHashMap<>(16, 0.75f, true);
    private Map<Integer, Map<String, Object>> chunkStateCheckpointCache = new LinkedHashMap<>(16, 0.75f, true);
    private Map<Integer, Map<String, Object>> sparseChunkStateCheckpointCache = new LinkedHashMap<>(16, 0.75f, true);
    private Map<Integer, Map<String, Object>> timelineSummaryCache = new LinkedHashMap<>();
    private Long lastManifestRefreshAtMs;
    private volatile String manifestSnapshotKey;
    private boolean tailCheckpointWarmupScheduled;
}