StormTracker

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 91 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Companion_CacheState_ = CompanionStruct_CacheState_{}
View Source
var Companion_Default___ = CompanionStruct_Default___{}
View Source
var Companion_StormTracker_ = CompanionStruct_StormTracker_{}

Functions

func Type_CacheState_

func Type_CacheState_() _dafny.TypeDescriptor

func Type_StormTracker_

func Type_StormTracker_() _dafny.TypeDescriptor

Types

type CacheState

type CacheState struct {
	Data_CacheState_
}

Definition of datatype CacheState

func (CacheState) Equals

func (_this CacheState) Equals(other CacheState) bool

func (CacheState) EqualsGeneric

func (_this CacheState) EqualsGeneric(other interface{}) bool

func (CacheState) Get_

func (_this CacheState) Get_() Data_CacheState_

func (CacheState) Is_EmptyFetch

func (_this CacheState) Is_EmptyFetch() bool

func (CacheState) Is_EmptyWait

func (_this CacheState) Is_EmptyWait() bool

func (CacheState) Is_Full

func (_this CacheState) Is_Full() bool

func (CacheState) ParentTraits_

func (_this CacheState) ParentTraits_() []*_dafny.TraitID

func (CacheState) String

func (_this CacheState) String() string

type CacheState_EmptyFetch

type CacheState_EmptyFetch struct {
}

type CacheState_EmptyWait

type CacheState_EmptyWait struct {
}

type CompanionStruct_CacheState_

type CompanionStruct_CacheState_ struct {
}

func (CompanionStruct_CacheState_) Create_EmptyFetch_

func (CompanionStruct_CacheState_) Create_EmptyFetch_() CacheState

func (CompanionStruct_CacheState_) Create_EmptyWait_

func (CompanionStruct_CacheState_) Create_EmptyWait_() CacheState

func (CompanionStruct_CacheState_) Default

type CompanionStruct_Default___

type CompanionStruct_Default___ struct {
}

func (*CompanionStruct_Default___) BadCacheMsg

func (*CompanionStruct_Default___) CheckSettings

func (*CompanionStruct_Default___) ConsistentSettings

func (*CompanionStruct_Default___) DefaultStorm

func (*CompanionStruct_Default___) N

type CompanionStruct_StormTracker_

type CompanionStruct_StormTracker_ struct {
}

type Data_CacheState_

type Data_CacheState_ interface {
	// contains filtered or unexported methods
}

type Default__

type Default__ struct {
	// contains filtered or unexported fields
}

Definition of class Default__

func New_Default___

func New_Default___() *Default__

func (*Default__) Equals

func (_this *Default__) Equals(other *Default__) bool

func (*Default__) EqualsGeneric

func (_this *Default__) EqualsGeneric(x interface{}) bool

func (*Default__) ParentTraits_

func (_this *Default__) ParentTraits_() []*_dafny.TraitID

func (*Default__) String

func (*Default__) String() string

type Dummy__

type Dummy__ struct{}

type StormTracker

type StormTracker struct {
	Wrapped       *m_LocalCMC.LocalCMC
	InFlight      *m_DafnyLibraries.MutableMap
	GracePeriod   int64
	GraceInterval int64
	FanOut        int64
	InFlightTTL   int64
	LastPrune     int64
	SleepMilli    int64
}

Definition of class StormTracker

func New_StormTracker_

func New_StormTracker_() *StormTracker

func (*StormTracker) AddLong

func (_this *StormTracker) AddLong(x int64, y int64) int64

func (*StormTracker) CheckInFlight

func (*StormTracker) CheckNewEntry

func (_this *StormTracker) CheckNewEntry(identifier _dafny.Sequence, now int64) CacheState

func (*StormTracker) Ctor__

func (*StormTracker) Equals

func (_this *StormTracker) Equals(other *StormTracker) bool

func (*StormTracker) EqualsGeneric

func (_this *StormTracker) EqualsGeneric(x interface{}) bool

func (*StormTracker) FanOutReached

func (_this *StormTracker) FanOutReached(now int64) bool

func (*StormTracker) GetFromCacheWithTime

func (*StormTracker) GracePeriod_q

func (*StormTracker) ParentTraits_

func (_this *StormTracker) ParentTraits_() []*_dafny.TraitID

func (*StormTracker) PruneInFlight

func (_this *StormTracker) PruneInFlight(now int64)

func (*StormTracker) String

func (*StormTracker) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL