public class StormTracker
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
long |
fanOut |
long |
graceInterval |
long |
gracePeriod |
DafnyLibraries.MutableMap<dafny.DafnySequence<? extends java.lang.Byte>,java.lang.Long> |
inFlight |
long |
inFlightTTL |
long |
lastPrune |
long |
sleepMilli |
LocalCMC |
wrapped |
| Constructor and Description |
|---|
StormTracker() |
| Modifier and Type | Method and Description |
|---|---|
void |
__ctor(StormTrackingCache cache) |
static dafny.TypeDescriptor<StormTracker> |
_typeDescriptor() |
long |
AddLong(long x,
long y) |
CacheState |
CheckInFlight(dafny.DafnySequence<? extends java.lang.Byte> identifier,
GetCacheEntryOutput result,
long now) |
CacheState |
CheckNewEntry(dafny.DafnySequence<? extends java.lang.Byte> identifier,
long now) |
Wrappers_Compile.Result<dafny.Tuple0,Error> |
DeleteCacheEntry(DeleteCacheEntryInput input) |
boolean |
FanOutReached(long now) |
Wrappers_Compile.Result<GetCacheEntryOutput,Error> |
GetCacheEntry(GetCacheEntryInput input) |
Wrappers_Compile.Result<CacheState,Error> |
GetFromCache(GetCacheEntryInput input) |
Wrappers_Compile.Result<CacheState,Error> |
GetFromCacheWithTime(GetCacheEntryInput input,
long now) |
long |
InFlightSize() |
void |
PruneInFlight(long now) |
Wrappers_Compile.Result<dafny.Tuple0,Error> |
PutCacheEntry(PutCacheEntryInput input) |
java.lang.String |
toString() |
Wrappers_Compile.Result<dafny.Tuple0,Error> |
UpdateUsageMetadata(UpdateUsageMetadataInput input) |
public LocalCMC wrapped
public DafnyLibraries.MutableMap<dafny.DafnySequence<? extends java.lang.Byte>,java.lang.Long> inFlight
public long gracePeriod
public long graceInterval
public long fanOut
public long inFlightTTL
public long lastPrune
public long sleepMilli
public void __ctor(StormTrackingCache cache)
public long InFlightSize()
public boolean FanOutReached(long now)
public long AddLong(long x,
long y)
public CacheState CheckInFlight(dafny.DafnySequence<? extends java.lang.Byte> identifier, GetCacheEntryOutput result, long now)
public void PruneInFlight(long now)
public CacheState CheckNewEntry(dafny.DafnySequence<? extends java.lang.Byte> identifier, long now)
public Wrappers_Compile.Result<CacheState,Error> GetFromCacheWithTime(GetCacheEntryInput input, long now)
public Wrappers_Compile.Result<CacheState,Error> GetFromCache(GetCacheEntryInput input)
public Wrappers_Compile.Result<GetCacheEntryOutput,Error> GetCacheEntry(GetCacheEntryInput input)
public Wrappers_Compile.Result<dafny.Tuple0,Error> PutCacheEntry(PutCacheEntryInput input)
public Wrappers_Compile.Result<dafny.Tuple0,Error> DeleteCacheEntry(DeleteCacheEntryInput input)
public Wrappers_Compile.Result<dafny.Tuple0,Error> UpdateUsageMetadata(UpdateUsageMetadataInput input)
public static dafny.TypeDescriptor<StormTracker> _typeDescriptor()
public java.lang.String toString()
toString in class java.lang.Object