Documentation ¶
Index ¶
- type Element
- type Event
- type EventState
- func (acc *EventState) BeginEvent()
- func (acc *EventState) CommitEvent()
- func (acc *EventState) CrashEvent(err error)
- func (acc *EventState) DropEvent()
- func (acc *EventState) HasRecorder() bool
- func (acc *EventState) RecordRead(name string, indices []tla.Value, value tla.Value)
- func (acc *EventState) RecordWrite(name string, indices []tla.Value, value tla.Value)
- func (acc *EventState) UpdateVClock(clock VClock)
- func (acc *EventState) VClock() VClock
- type ReadElement
- type Recorder
- type VClock
- func (clock VClock) Get(archetypeId string, self tla.Value) int
- func (clock *VClock) GobDecode(b []byte) error
- func (clock *VClock) GobEncode() ([]byte, error)
- func (clock VClock) Inc(archetypeName string, self tla.Value) VClock
- func (clock VClock) MarshalJSON() ([]byte, error)
- func (clock VClock) Merge(other VClock) VClock
- func (clock VClock) String() string
- type WriteElement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
func (Event) MarshalJSON ¶
type EventState ¶
type EventState struct { Recorder Recorder ArchetypeName string ArchetypeSelf tla.Value // contains filtered or unexported fields }
func (*EventState) BeginEvent ¶
func (acc *EventState) BeginEvent()
func (*EventState) CommitEvent ¶
func (acc *EventState) CommitEvent()
func (*EventState) CrashEvent ¶
func (acc *EventState) CrashEvent(err error)
func (*EventState) DropEvent ¶
func (acc *EventState) DropEvent()
func (*EventState) HasRecorder ¶
func (acc *EventState) HasRecorder() bool
func (*EventState) RecordRead ¶
func (*EventState) RecordWrite ¶
func (*EventState) UpdateVClock ¶
func (acc *EventState) UpdateVClock(clock VClock)
func (*EventState) VClock ¶
func (acc *EventState) VClock() VClock
type ReadElement ¶
type VClock ¶
type VClock struct {
// contains filtered or unexported fields
}
func (VClock) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.