return journal.storageLevel() == StorageLevel.MEMORY || journal.directory().getFreeSpace() < journal.maxSegmentSize() * SEGMENT_BUFFER_FACTOR || journal.directory().getFreeSpace() / (double)journal.directory().getTotalSpace() < FREE_DISK_BUFFER; | return journal.storageLevel() == StorageLevel.MEMORY || journal.directory().getUsableSpace() < journal.maxSegmentSize() * (long)SEGMENT_BUFFER_FACTOR || journal.directory().getUsableSpace() / (double)journal.directory().getTotalSpace() < FREE_DISK_BUFFER; | journal.storageLevel() == StorageLevel.MEMORY || journal.directory().getFreeSpace() < journal.maxSegmentSize() * SEGMENT_BUFFER_FACTOR || journal.directory().getFreeSpace() / (double)journal.directory().getTotalSpace() < FREE_DISK_BUFFER | journal.storageLevel() == StorageLevel.MEMORY || journal.directory().getUsableSpace() < journal.maxSegmentSize() * (long)SEGMENT_BUFFER_FACTOR || journal.directory().getUsableSpace() / (double)journal.directory().getTotalSpace() < FREE_DISK_BUFFER | atomix | 3ee3312e9cf33d51375c45c343e561887e85fac4 | io.atomix.protocols.raft.storage.log.RaftLog | | _1 | SEGMENT_BUFFER_FACTOR |
---|
_2 | SEGMENT_BUFFER_FACTOR |
---|
| TCIVar | SEGMENT_BUFFER_FACTOR |
---|
v0 | StorageLevel.MEMORY |
---|
v1 | journal.maxSegmentSize() |
---|
v2 | journal.storageLevel() |
---|
| | TCIVar | SEGMENT_BUFFER_FACTOR |
---|
v0 | StorageLevel.MEMORY |
---|
v1 | journal.maxSegmentSize() |
---|
v2 | journal.storageLevel() |
---|
| Uses | True |