Skip navigation links
A B C D E F G H I L M N O P R S T U V W Z 

A

add(PolicyStats) - Method in interface com.github.benmanes.caffeine.cache.simulator.report.Reporter
Adds the result of a policy simulation.
add(PolicyStats) - Method in class com.github.benmanes.caffeine.cache.simulator.report.TextReporter
Adds the result of a policy simulation.
addEvictions(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
addHits(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
addItem(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCache
 
addItem(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheSketch
 
addItem(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheWithGhostCache
 
addItem(HashedItem, long[], long[]) - Static method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinySetIndexing
 
addMisses(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
addOperations(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
AddressTraceReader - Class in com.github.benmanes.caffeine.cache.simulator.parser.address
A reader for the trace files of application address instructions, provided by UC SD.
AddressTraceReader(List<String>) - Constructor for class com.github.benmanes.caffeine.cache.simulator.parser.address.AddressTraceReader
 
Admission - Enum in com.github.benmanes.caffeine.cache.simulator.admission
The admission policies.
admission() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
admit(long, long) - Method in interface com.github.benmanes.caffeine.cache.simulator.admission.Admittor
Returns if the candidate should be added to the cache and the page replacement policy's chosen victim should be removed.
admit(long, long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.TinyLfu
 
Admittor - Interface in com.github.benmanes.caffeine.cache.simulator.admission
An admission policy to the cache.
always() - Static method in interface com.github.benmanes.caffeine.cache.simulator.admission.Admittor
Returns an admittor that admits every candidate.
ArcPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.adaptive
Adaptive Replacement Cache.
ArcPolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.ArcPolicy
 
ArcTraceReader - Class in com.github.benmanes.caffeine.cache.simulator.parser.arc
A reader for the trace files provided by the authors of the ARC algorithm.
ArcTraceReader(List<String>) - Constructor for class com.github.benmanes.caffeine.cache.simulator.parser.arc.ArcTraceReader
 
ascending() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.ReportSettings
 
assemble(List<PolicyStats>) - Method in class com.github.benmanes.caffeine.cache.simulator.report.CsvReporter
 
assemble(List<PolicyStats>) - Method in class com.github.benmanes.caffeine.cache.simulator.report.TableReporter
Assembles an aggregated report.
assemble(List<PolicyStats>) - Method in class com.github.benmanes.caffeine.cache.simulator.report.TextReporter
Assembles an aggregated report.

B

BasicSettings - Class in com.github.benmanes.caffeine.cache.simulator
The simulator's configuration.
BasicSettings(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
BasicSettings.ReportSettings - Class in com.github.benmanes.caffeine.cache.simulator
 
BasicSettings.SyntheticSettings - Class in com.github.benmanes.caffeine.cache.simulator
 
BasicSettings.SyntheticSettings.CounterSettings - Class in com.github.benmanes.caffeine.cache.simulator
 
BasicSettings.SyntheticSettings.ExponentialSettings - Class in com.github.benmanes.caffeine.cache.simulator
 
BasicSettings.SyntheticSettings.HotspotSettings - Class in com.github.benmanes.caffeine.cache.simulator
 
BasicSettings.SyntheticSettings.UniformSettings - Class in com.github.benmanes.caffeine.cache.simulator
 
BasicSettings.SyntheticSettings.ZipfianSettings - Class in com.github.benmanes.caffeine.cache.simulator
 
BasicSettings.TinyLfuSettings - Class in com.github.benmanes.caffeine.cache.simulator
 
BasicSettings.TinyLfuSettings.CountMin4Settings - Class in com.github.benmanes.caffeine.cache.simulator
 
BasicSettings.TinyLfuSettings.CountMin64Settings - Class in com.github.benmanes.caffeine.cache.simulator
 
BasicSettings.TraceFilesSettings - Class in com.github.benmanes.caffeine.cache.simulator
 
batchSize() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 

C

Cache2kPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.product
Cache2k implementation.
Cache2kPolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.product.Cache2kPolicy
 
CaffeinePolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.product
Caffeine cache implementation.
CaffeinePolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.product.CaffeinePolicy
 
CarPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.adaptive
Clock with Adaptive Replacement policy.
CarPolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.CarPolicy
 
CartPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.adaptive
CAR with Temporal filtering policy.
CartPolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.CartPolicy
 
chainExist(long, int) - Static method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinySetIndexing
 
chainId - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.HashedItem
 
chainIndex - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCache
 
chainIndex - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheSketch
 
chainIndex - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheWithGhostCache
 
ClairvoyantPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.opt
Bélády's
ClairvoyantPolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.opt.ClairvoyantPolicy
 
ClockProPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.irr
The ClockPro algorithm.
ClockProPolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.irr.ClockProPolicy
 
com.clearspring.analytics.stream.frequency - package com.clearspring.analytics.stream.frequency
 
com.github.benmanes.caffeine.cache.simulator - package com.github.benmanes.caffeine.cache.simulator
 
com.github.benmanes.caffeine.cache.simulator.admission - package com.github.benmanes.caffeine.cache.simulator.admission
 
com.github.benmanes.caffeine.cache.simulator.admission.countmin4 - package com.github.benmanes.caffeine.cache.simulator.admission.countmin4
 
com.github.benmanes.caffeine.cache.simulator.admission.perfect - package com.github.benmanes.caffeine.cache.simulator.admission.perfect
 
com.github.benmanes.caffeine.cache.simulator.admission.table - package com.github.benmanes.caffeine.cache.simulator.admission.table
 
com.github.benmanes.caffeine.cache.simulator.admission.tinycache - package com.github.benmanes.caffeine.cache.simulator.admission.tinycache
 
com.github.benmanes.caffeine.cache.simulator.parser - package com.github.benmanes.caffeine.cache.simulator.parser
 
com.github.benmanes.caffeine.cache.simulator.parser.address - package com.github.benmanes.caffeine.cache.simulator.parser.address
 
com.github.benmanes.caffeine.cache.simulator.parser.arc - package com.github.benmanes.caffeine.cache.simulator.parser.arc
 
com.github.benmanes.caffeine.cache.simulator.parser.lirs - package com.github.benmanes.caffeine.cache.simulator.parser.lirs
 
com.github.benmanes.caffeine.cache.simulator.parser.umass.storage - package com.github.benmanes.caffeine.cache.simulator.parser.umass.storage
 
com.github.benmanes.caffeine.cache.simulator.parser.wikipedia - package com.github.benmanes.caffeine.cache.simulator.parser.wikipedia
 
com.github.benmanes.caffeine.cache.simulator.policy - package com.github.benmanes.caffeine.cache.simulator.policy
 
com.github.benmanes.caffeine.cache.simulator.policy.adaptive - package com.github.benmanes.caffeine.cache.simulator.policy.adaptive
 
com.github.benmanes.caffeine.cache.simulator.policy.irr - package com.github.benmanes.caffeine.cache.simulator.policy.irr
 
com.github.benmanes.caffeine.cache.simulator.policy.linked - package com.github.benmanes.caffeine.cache.simulator.policy.linked
 
com.github.benmanes.caffeine.cache.simulator.policy.opt - package com.github.benmanes.caffeine.cache.simulator.policy.opt
 
com.github.benmanes.caffeine.cache.simulator.policy.product - package com.github.benmanes.caffeine.cache.simulator.policy.product
 
com.github.benmanes.caffeine.cache.simulator.policy.sampled - package com.github.benmanes.caffeine.cache.simulator.policy.sampled
 
com.github.benmanes.caffeine.cache.simulator.policy.sketch - package com.github.benmanes.caffeine.cache.simulator.policy.sketch
 
com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache - package com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache
 
com.github.benmanes.caffeine.cache.simulator.policy.two_queue - package com.github.benmanes.caffeine.cache.simulator.policy.two_queue
 
com.github.benmanes.caffeine.cache.simulator.report - package com.github.benmanes.caffeine.cache.simulator.report
 
complexity() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
confidence() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings.CountMin64Settings
 
config() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
Returns the config resolved at the simulator's path.
conservative() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings
 
contains(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCache
 
contains(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheWithGhostCache
 
counter() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings
 
counter(int, int) - Static method in class com.github.benmanes.caffeine.cache.simulator.Synthetic
Returns a sequence of unique integers.
CounterSettings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.CounterSettings
 
countItem(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheSketch
 
countMin4() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings
 
CountMin4Settings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings.CountMin4Settings
 
countMin64() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings
 
CountMin64Settings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings.CountMin64Settings
 
CountMin64TinyLfu - Class in com.clearspring.analytics.stream.frequency
A version of the TinyLFU sketch based on a regular conservative update sketch.
CountMin64TinyLfu(Config) - Constructor for class com.clearspring.analytics.stream.frequency.CountMin64TinyLfu
 
create(Config) - Method in enum com.github.benmanes.caffeine.cache.simulator.report.ReportFormat
 
createHash(Object) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.HashFunctionParser
 
createHash(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.HashFunctionParser
 
CsvReporter - Class in com.github.benmanes.caffeine.cache.simulator.report
A plain text report that prints comma-separated values.
CsvReporter(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.report.CsvReporter
 

D

distribution() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings
 

E

Ehcache2Policy - Class in com.github.benmanes.caffeine.cache.simulator.policy.product
Ehcache 2 implementation.
Ehcache2Policy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.product.Ehcache2Policy
 
Ehcache3Policy - Class in com.github.benmanes.caffeine.cache.simulator.policy.product
Ehcache 3 implementation.
Ehcache3Policy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.product.Ehcache3Policy
 
ensureCapacity(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.countmin4.PeriodicResetCountMin4
 
eps() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings.CountMin64Settings
 
events() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings
 
events() - Method in class com.github.benmanes.caffeine.cache.simulator.parser.address.AddressTraceReader
 
events() - Method in class com.github.benmanes.caffeine.cache.simulator.parser.arc.ArcTraceReader
 
events() - Method in class com.github.benmanes.caffeine.cache.simulator.parser.lirs.LirsTraceReader
 
events() - Method in interface com.github.benmanes.caffeine.cache.simulator.parser.TraceReader
Creates a LongStream that lazily reads the trace source.
events() - Method in class com.github.benmanes.caffeine.cache.simulator.parser.umass.storage.StorageTraceReader
 
events() - Method in class com.github.benmanes.caffeine.cache.simulator.parser.wikipedia.WikipediaTraceReader
 
evictionCount() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
exponential() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings
 
exponential(double, int) - Static method in class com.github.benmanes.caffeine.cache.simulator.Synthetic
Returns a sequence of events based on an exponential distribution.
ExponentialSettings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.ExponentialSettings
 

F

fingerprint - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.HashedItem
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.ArcPolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.CarPolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.CartPolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.irr.ClockProPolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.irr.LirsPolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.S4LruPolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.opt.ClairvoyantPolicy
 
finished() - Method in interface com.github.benmanes.caffeine.cache.simulator.policy.Policy
Indicates that the recording has completed.
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.TCachePolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.FullySegmentedWindowTinyLfuPolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.S4WindowTinyLfuPolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.SimpleWindowTinyLfuPolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.WindowTinyLfuPolicy
 
finished() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.two_queue.TuQueuePolicy
 
format(String) - Method in enum com.github.benmanes.caffeine.cache.simulator.admission.Admission
Returns the policy's formatted name.
format() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.ReportSettings
 
format() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TraceFilesSettings
 
fpaux - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.HashFunctionParser
 
frequency(long) - Method in class com.clearspring.analytics.stream.frequency.CountMin64TinyLfu
Returns the estimated usage frequency of the item.
Frequency - Interface in com.github.benmanes.caffeine.cache.simulator.admission
A multiset for estimating the popularity of an element.
frequency(long) - Method in interface com.github.benmanes.caffeine.cache.simulator.admission.Frequency
Returns the estimated number of times the element was seen.
frequency(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.perfect.PerfectFrequency
 
frequency(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.table.RandomRemovalFrequencyTable
 
frequency(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheAdapter
 
FrequentlyUsedPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.linked
Least/Most Frequency Used in O(1) time as described in An O(1) algorithm for implementing the LFU cache eviction scheme.
FrequentlyUsedPolicy(Admission, FrequentlyUsedPolicy.EvictionPolicy, Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.linked.FrequentlyUsedPolicy
 
FrequentlyUsedPolicy.EvictionPolicy - Enum in com.github.benmanes.caffeine.cache.simulator.policy.linked
 
from(Config) - Method in enum com.github.benmanes.caffeine.cache.simulator.admission.Admission
Returns a configured admittor.
FullySegmentedWindowTinyLfuPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.sketch
The Window TinyLfu algorithm where the eden and main spaces implement SegmentedLruPolicy.
FullySegmentedWindowTinyLfuPolicy(double, FullySegmentedWindowTinyLfuPolicy.FullySegmentedWindowTinyLfuSettings) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.sketch.FullySegmentedWindowTinyLfuPolicy
 

G

generate(BasicSettings) - Static method in class com.github.benmanes.caffeine.cache.simulator.Synthetic
Returns a sequence of events based on the setting's distribution.
getChain(HashedItem, long[], long[]) - Static method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinySetIndexing
 
getChainAtOffset(HashedItem, long[], long[], int) - Static method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinySetIndexing
 
getChainStart(HashedItem, long[], long[]) - Static method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinySetIndexing
 
GuavaPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.product
Guava cache implementation.
GuavaPolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.product.GuavaPolicy
 

H

HashedItem - Class in com.github.benmanes.caffeine.cache.simulator.admission.tinycache
This is a wrapper class that represents a parsed hashed item.
HashedItem(int, byte, byte, long) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.HashedItem
 
HashFunctionParser - Class in com.github.benmanes.caffeine.cache.simulator.admission.tinycache
This is a hash function and parser tp simplify parsing the hash value, it split it to .
HashFunctionParser(int) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.HashFunctionParser
 
headers() - Method in class com.github.benmanes.caffeine.cache.simulator.report.TextReporter
Returns the column headers.
hitCount() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
hitRate() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
hotOpnFraction() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.HotspotSettings
 
hotsetFraction() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.HotspotSettings
 
hotspot() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings
 
hotspot(int, int, double, double, int) - Static method in class com.github.benmanes.caffeine.cache.simulator.Synthetic
Returns a sequence of events resembling a hotspot distribution where x% of operations access y% of data items.
HotspotSettings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.HotspotSettings
 

I

increment(long) - Method in class com.clearspring.analytics.stream.frequency.CountMin64TinyLfu
 
increment(long) - Method in interface com.github.benmanes.caffeine.cache.simulator.admission.Frequency
Increments the popularity of the element.
increment(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.perfect.PerfectFrequency
 
increment(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.table.RandomRemovalFrequencyTable
 
increment(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheAdapter
 
increment() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings.CountMin4Settings
 
IncrementalResetCountMin4 - Class in com.github.benmanes.caffeine.cache.simulator.admission.countmin4
A sketch where the aging process is an incremental reset.
IncrementalResetCountMin4(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.countmin4.IncrementalResetCountMin4
 
InfinispanPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.product
Infinispan cache implementation.
InfinispanPolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.product.InfinispanPolicy
 
isAllowed(String) - Method in class com.github.benmanes.caffeine.cache.simulator.parser.wikipedia.WikipediaTraceReader
Returns if the path should be included.
isFiles() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
isLastIndex - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCache
 
isLastIndex - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheSketch
 
isLastIndex - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheWithGhostCache
 
isSynthetic() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
items() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.ZipfianSettings
 

L

label() - Method in enum com.github.benmanes.caffeine.cache.simulator.policy.linked.FrequentlyUsedPolicy.EvictionPolicy
 
label() - Method in enum com.github.benmanes.caffeine.cache.simulator.policy.linked.LinkedPolicy.EvictionPolicy
 
label() - Method in enum com.github.benmanes.caffeine.cache.simulator.policy.sampled.SamplingPolicy.EvictionPolicy
 
lines() - Method in class com.github.benmanes.caffeine.cache.simulator.parser.TextTraceReader
Returns a stream of each line in the trace file.
LinkedPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.linked
A cache that uses a linked list, in either insertion or access order, to implement simple page replacement algorithms.
LinkedPolicy(Admission, LinkedPolicy.EvictionPolicy, Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.linked.LinkedPolicy
 
LinkedPolicy.EvictionPolicy - Enum in com.github.benmanes.caffeine.cache.simulator.policy.linked
The replacement policy.
LirsPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.irr
Low Inter-reference Recency Set (LIRS) algorithm.
LirsPolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.irr.LirsPolicy
 
LirsTraceReader - Class in com.github.benmanes.caffeine.cache.simulator.parser.lirs
A reader for the trace files provided by the authors of the LIRS algorithm.
LirsTraceReader(List<String>) - Constructor for class com.github.benmanes.caffeine.cache.simulator.parser.lirs.LirsTraceReader
 
lowerBound() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.HotspotSettings
 
lowerBound() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.UniformSettings
 

M

main(String[]) - Static method in class com.github.benmanes.caffeine.cache.simulator.Simulator
 
maximumSize() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
mean() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.ExponentialSettings
 
missCount() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
missRate() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
MultiQueuePolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.linked
The MultiQueue algorithm.
MultiQueuePolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.linked.MultiQueuePolicy
 

N

name() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 

O

onReceive(Object) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyActor
 
onReceive(Object) - Method in class com.github.benmanes.caffeine.cache.simulator.Simulator
 
operationCount() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
output() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.ReportSettings
 

P

paths() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TraceFilesSettings
 
PerfectFrequency - Class in com.github.benmanes.caffeine.cache.simulator.admission.perfect
A the perfect frequency with aging performed using a periodic reset.
PerfectFrequency(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.perfect.PerfectFrequency
 
PeriodicResetCountMin4 - Class in com.github.benmanes.caffeine.cache.simulator.admission.countmin4
A sketch where the aging process is a periodic reset.
PeriodicResetCountMin4(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.countmin4.PeriodicResetCountMin4
 
policies() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.ArcPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.CarPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.CartPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.irr.ClockProPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.irr.LirsPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config, FrequentlyUsedPolicy.EvictionPolicy) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.FrequentlyUsedPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config, LinkedPolicy.EvictionPolicy) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.LinkedPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.MultiQueuePolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.S4LruPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.SegmentedLruPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.opt.ClairvoyantPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.opt.UnboundedPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.product.Cache2kPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.product.CaffeinePolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.product.Ehcache2Policy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.product.Ehcache3Policy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.product.GuavaPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.product.InfinispanPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.product.TCachePolicy
Returns all variations of this policy based on the configuration parameters.
policies(BasicSettings) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.Registry
Returns all of the policies that have been configured for simulation.
policies(Config, SamplingPolicy.EvictionPolicy) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.sampled.SamplingPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.FullySegmentedWindowTinyLfuPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.S4WindowTinyLfuPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.SimpleWindowTinyLfuPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.TinyCachePolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.TinyCacheWithGhostCachePolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.WindowTinyCachePolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.WindowTinyLfuPolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.two_queue.TuQueuePolicy
Returns all variations of this policy based on the configuration parameters.
policies(Config) - Static method in class com.github.benmanes.caffeine.cache.simulator.policy.two_queue.TwoQueuePolicy
Returns all variations of this policy based on the configuration parameters.
Policy - Interface in com.github.benmanes.caffeine.cache.simulator.policy
A cache that implements a page replacement policy.
PolicyActor - Class in com.github.benmanes.caffeine.cache.simulator.policy
An actor that proxies to the page replacement policy.
PolicyActor(Policy) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.PolicyActor
 
PolicyStats - Class in com.github.benmanes.caffeine.cache.simulator.policy
Statistics gathered by a policy execution.
PolicyStats(String) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
print() - Method in interface com.github.benmanes.caffeine.cache.simulator.report.Reporter
Writes the report to the output destination.
print() - Method in class com.github.benmanes.caffeine.cache.simulator.report.TextReporter
Writes the report to the output destination.

R

RandomRemovalFrequencyTable - Class in com.github.benmanes.caffeine.cache.simulator.admission.table
A probabilistic multiset for estimating the popularity of an element within a time window.
RandomRemovalFrequencyTable(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.table.RandomRemovalFrequencyTable
 
randomSeed() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
rank(long, int) - Static method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinySetIndexing
 
readFiles(List<String>) - Method in enum com.github.benmanes.caffeine.cache.simulator.parser.TraceFormat
Returns a new reader for streaming the events from the trace file.
record(long) - Method in interface com.github.benmanes.caffeine.cache.simulator.admission.Admittor
Records the access to the entry.
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.TinyLfu
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.ArcPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.CarPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.CartPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.irr.ClockProPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.irr.LirsPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.FrequentlyUsedPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.LinkedPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.MultiQueuePolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.S4LruPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.SegmentedLruPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.opt.ClairvoyantPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.opt.UnboundedPolicy
 
record(long) - Method in interface com.github.benmanes.caffeine.cache.simulator.policy.Policy
Records that the entry was accessed.
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.Cache2kPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.CaffeinePolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.Ehcache2Policy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.Ehcache3Policy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.GuavaPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.InfinispanPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.TCachePolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sampled.SamplingPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.FullySegmentedWindowTinyLfuPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.S4WindowTinyLfuPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.SimpleWindowTinyLfuPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.TinyCachePolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.TinyCacheWithGhostCachePolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.WindowTinyCachePolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.WindowTinyLfuPolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.two_queue.TuQueuePolicy
 
record(long) - Method in class com.github.benmanes.caffeine.cache.simulator.policy.two_queue.TwoQueuePolicy
 
recordEviction() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
recordHit() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
recordItem(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCache
 
recordItem(long) - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheWithGhostCache
 
recordMiss() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
recordOperation() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
Registry - Class in com.github.benmanes.caffeine.cache.simulator.policy
The registry of caching policies.
removeItem(HashedItem, long[], long[]) - Static method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinySetIndexing
 
report() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
Reporter - Interface in com.github.benmanes.caffeine.cache.simulator.report
A reporter that collects the results and prints the output.
ReportFormat - Enum in com.github.benmanes.caffeine.cache.simulator.report
The report data formats.
ReportSettings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.ReportSettings
 
requestCount() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
reset() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings.CountMin4Settings
 

S

S4LruPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.linked
"Quadruply-segmented LRU.
S4LruPolicy(Admission, Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.linked.S4LruPolicy
 
S4WindowTinyLfuPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.sketch
The Window TinyLfu algorithm where the eden space implements LRU and the main space implements S4LRU.
S4WindowTinyLfuPolicy(double, S4WindowTinyLfuPolicy.S4WindowTinyLfuSettings) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.sketch.S4WindowTinyLfuPolicy
 
sampleSize() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings.CountMin64Settings
 
SamplingPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.sampled
A cache that uses a sampled array of entries to implement simple page replacement algorithms.
SamplingPolicy(Admission, SamplingPolicy.EvictionPolicy, Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.sampled.SamplingPolicy
 
SamplingPolicy.EvictionPolicy - Enum in com.github.benmanes.caffeine.cache.simulator.policy.sampled
The replacement policy.
SamplingPolicy.Sample - Enum in com.github.benmanes.caffeine.cache.simulator.policy.sampled
The algorithms to choose a random sample with.
scrambledZipfian(int, int) - Static method in class com.github.benmanes.caffeine.cache.simulator.Synthetic
Returns a sequence of events where some items are more popular than others, according to a zipfian distribution.
SegmentedLruPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.linked
"Segmented LRU is based on the observation that objects with at least two accesses are much more popular than those with only one access during a short interval.
SegmentedLruPolicy(Admission, Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.linked.SegmentedLruPolicy
 
set - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.HashedItem
 
SimpleWindowTinyLfuPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.sketch
The Window TinyLfu algorithm where the eden and main spaces implement LRU.
SimpleWindowTinyLfuPolicy(double, SimpleWindowTinyLfuPolicy.SimpleWindowTinyLfuSettings) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.sketch.SimpleWindowTinyLfuPolicy
 
Simulator - Class in com.github.benmanes.caffeine.cache.simulator
A simulator that broadcasts the recorded cache events to each policy and generates an aggregated report.
Simulator() - Constructor for class com.github.benmanes.caffeine.cache.simulator.Simulator
 
Simulator.Message - Enum in com.github.benmanes.caffeine.cache.simulator
 
sketch() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings
 
skewedZipfianLatest(int, int) - Static method in class com.github.benmanes.caffeine.cache.simulator.Synthetic
Returns a zipfian sequence with a popularity distribution of items, skewed to favor recent items significantly more than older items
sortBy() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.ReportSettings
 
start() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.CounterSettings
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.ArcPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.CarPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.adaptive.CartPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.irr.ClockProPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.irr.LirsPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.FrequentlyUsedPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.LinkedPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.MultiQueuePolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.S4LruPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.linked.SegmentedLruPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.opt.ClairvoyantPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.opt.UnboundedPolicy
 
stats() - Method in interface com.github.benmanes.caffeine.cache.simulator.policy.Policy
Returns the cache efficiency statistics.
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.Cache2kPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.CaffeinePolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.Ehcache2Policy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.Ehcache3Policy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.GuavaPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.InfinispanPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.product.TCachePolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sampled.SamplingPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.FullySegmentedWindowTinyLfuPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.S4WindowTinyLfuPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.SimpleWindowTinyLfuPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.TinyCachePolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.TinyCacheWithGhostCachePolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.WindowTinyCachePolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.sketch.WindowTinyLfuPolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.two_queue.TuQueuePolicy
 
stats() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.two_queue.TwoQueuePolicy
 
stopwatch() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
StorageTraceReader - Class in com.github.benmanes.caffeine.cache.simulator.parser.umass.storage
A reader for the trace files provided by the UMass Trace Repository.
StorageTraceReader(List<String>) - Constructor for class com.github.benmanes.caffeine.cache.simulator.parser.umass.storage.StorageTraceReader
 
synthetic() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
Synthetic - Class in com.github.benmanes.caffeine.cache.simulator
A generator of synthetic cache events to simulate different caching patterns.
SyntheticSettings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings
 

T

TableReporter - Class in com.github.benmanes.caffeine.cache.simulator.report
A plain text report that pretty-prints to a table.
TableReporter(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.report.TableReporter
 
TCachePolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.product
TCache implementation.
TCachePolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.product.TCachePolicy
 
TextReporter - Class in com.github.benmanes.caffeine.cache.simulator.report
A skeletal plain text implementation applicable for printing to the console or a file.
TextReporter(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.report.TextReporter
 
TextTraceReader - Class in com.github.benmanes.caffeine.cache.simulator.parser
A skeletal implementation that reads the trace file line by line as textual data.
TextTraceReader(List<String>) - Constructor for class com.github.benmanes.caffeine.cache.simulator.parser.TextTraceReader
 
TinyCache - Class in com.github.benmanes.caffeine.cache.simulator.admission.tinycache
This is the TinyCache model that takes advantage of random eviction policy with a ghost cache as admission policy.
TinyCache(int, int, int) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCache
 
TinyCacheAdapter - Class in com.github.benmanes.caffeine.cache.simulator.admission.tinycache
The TinyCache admission policy.
TinyCacheAdapter(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheAdapter
Note that in this implementation there are always 64 items per set.
TinyCachePolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache
 
TinyCachePolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.TinyCachePolicy
 
TinyCacheSketch - Class in com.github.benmanes.caffeine.cache.simulator.admission.tinycache
This is the TinyCache sketch that is based on TinySet and TinyTable.
TinyCacheSketch(int, int, int) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheSketch
 
TinyCacheWithGhostCache - Class in com.github.benmanes.caffeine.cache.simulator.admission.tinycache
This is the TinyCache model that takes advantage of random eviction policy with a ghost cache as admission policy.
TinyCacheWithGhostCache(int, int, int) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.TinyCacheWithGhostCache
 
TinyCacheWithGhostCachePolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache
 
TinyCacheWithGhostCachePolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.TinyCacheWithGhostCachePolicy
 
TinyLfu - Class in com.github.benmanes.caffeine.cache.simulator.admission
Admits new entries based on the estimated frequency of its historic use.
TinyLfu(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.admission.TinyLfu
 
tinyLfu() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
TinyLfuSettings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TinyLfuSettings
 
TinySetIndexing - Class in com.github.benmanes.caffeine.cache.simulator.admission.tinycache
An implementation of TinySet's indexing method.
toString() - Method in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.HashedItem
 
toString() - Method in class com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats
 
traceFiles() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings
 
TraceFilesSettings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.TraceFilesSettings
 
TraceFormat - Enum in com.github.benmanes.caffeine.cache.simulator.parser
The trace file formats.
TraceReader - Interface in com.github.benmanes.caffeine.cache.simulator.parser
A reader to an access trace.
TuQueuePolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.two_queue
An adaption of the 2Q algorithm used by OpenBSD and memcached.
TuQueuePolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.two_queue.TuQueuePolicy
 
TwoQueuePolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.two_queue
The 2Q algorithm.
TwoQueuePolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.two_queue.TwoQueuePolicy
 

U

UnboundedPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.opt
A cache that has no maximum size.
UnboundedPolicy() - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.opt.UnboundedPolicy
 
uniform() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings
 
uniform(int, int, int) - Static method in class com.github.benmanes.caffeine.cache.simulator.Synthetic
Returns a sequence of events where items are selected uniformly randomly from the interval inclusively.
UniformSettings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.UniformSettings
 
upperBound() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.HotspotSettings
 
upperBound() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.UniformSettings
 

V

value - Variable in class com.github.benmanes.caffeine.cache.simulator.admission.tinycache.HashedItem
 
valueOf(String) - Static method in enum com.github.benmanes.caffeine.cache.simulator.admission.Admission
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.benmanes.caffeine.cache.simulator.parser.TraceFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.benmanes.caffeine.cache.simulator.policy.linked.FrequentlyUsedPolicy.EvictionPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.benmanes.caffeine.cache.simulator.policy.linked.LinkedPolicy.EvictionPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.benmanes.caffeine.cache.simulator.policy.sampled.SamplingPolicy.EvictionPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.benmanes.caffeine.cache.simulator.policy.sampled.SamplingPolicy.Sample
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.benmanes.caffeine.cache.simulator.report.ReportFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.benmanes.caffeine.cache.simulator.Simulator.Message
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.benmanes.caffeine.cache.simulator.admission.Admission
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.benmanes.caffeine.cache.simulator.parser.TraceFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.benmanes.caffeine.cache.simulator.policy.linked.FrequentlyUsedPolicy.EvictionPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.benmanes.caffeine.cache.simulator.policy.linked.LinkedPolicy.EvictionPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.benmanes.caffeine.cache.simulator.policy.sampled.SamplingPolicy.EvictionPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.benmanes.caffeine.cache.simulator.policy.sampled.SamplingPolicy.Sample
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.benmanes.caffeine.cache.simulator.report.ReportFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.benmanes.caffeine.cache.simulator.Simulator.Message
Returns an array containing the constants of this enum type, in the order they are declared.

W

WikipediaTraceReader - Class in com.github.benmanes.caffeine.cache.simulator.parser.wikipedia
A reader for the trace files provided by the wikibench project.
WikipediaTraceReader(List<String>) - Constructor for class com.github.benmanes.caffeine.cache.simulator.parser.wikipedia.WikipediaTraceReader
 
WindowTinyCachePolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache
 
WindowTinyCachePolicy(Config) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.sketch.tinycache.WindowTinyCachePolicy
 
WindowTinyLfuPolicy - Class in com.github.benmanes.caffeine.cache.simulator.policy.sketch
An adaption of the TinyLfu policy that adds a temporal admission window.
WindowTinyLfuPolicy(double, WindowTinyLfuPolicy.WindowTinyLfuSettings) - Constructor for class com.github.benmanes.caffeine.cache.simulator.policy.sketch.WindowTinyLfuPolicy
 

Z

zipfian() - Method in class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings
 
zipfian(int, int) - Static method in class com.github.benmanes.caffeine.cache.simulator.Synthetic
Returns a sequence of events where some items are more popular than others, according to a zipfian distribution.
ZipfianSettings() - Constructor for class com.github.benmanes.caffeine.cache.simulator.BasicSettings.SyntheticSettings.ZipfianSettings
 
A B C D E F G H I L M N O P R S T U V W Z 
Skip navigation links