Documentation ¶
Index ¶
- Variables
- type Activity
- type DirectlyFollowsRelation
- type EventStore
- type KvStore
- type SbarStore
- func (kv *SbarStore) Close()
- func (kv *SbarStore) CountActivities() int
- func (kv *SbarStore) CountDfRelations() int
- func (kv *SbarStore) CountStartActivities() int
- func (kv *SbarStore) DailyCountOfActivities(activities []string) (map[string]map[string]uint64, error)
- func (kv *SbarStore) GetActivities() []Activity
- func (kv *SbarStore) GetDfRelations() []DirectlyFollowsRelation
- func (kv *SbarStore) GetDfRelationsWithinTimewindow(dfRelations [][]string, start time.Time, end time.Time) ([]DirectlyFollowsRelation, error)
- func (kv *SbarStore) GetLastActivityForCase(caseId string) (string, error)
- func (kv *SbarStore) RecordActivity(activity string, timestamp time.Time) error
- func (kv *SbarStore) RecordActivityForCase(activity string, caseId string, timestamp time.Time) error
- func (kv *SbarStore) RecordDirectlyFollowsRelation(from string, to string, timestamp time.Time) error
- func (kv *SbarStore) RecordStartActivity(key string)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EventFlushCount = 100000 // decreasing this reduces memory utilization, but also performance
)
Functions ¶
This section is empty.
Types ¶
type DirectlyFollowsRelation ¶
type EventStore ¶
func NewEventStore ¶
func NewEventStore(storage storage.Storage) *EventStore
func (*EventStore) Close ¶
func (es *EventStore) Close()
func (*EventStore) GetBinCount ¶
func (es *EventStore) GetBinCount() (map[string]uint64, error)
func (*EventStore) GetCount ¶
func (es *EventStore) GetCount() uint64
type KvStore ¶
func NewKvStore ¶
type SbarStore ¶
func (*SbarStore) CountActivities ¶
func (*SbarStore) CountDfRelations ¶
func (*SbarStore) CountStartActivities ¶
func (*SbarStore) DailyCountOfActivities ¶
func (*SbarStore) GetActivities ¶
func (*SbarStore) GetDfRelations ¶
func (kv *SbarStore) GetDfRelations() []DirectlyFollowsRelation
func (*SbarStore) GetDfRelationsWithinTimewindow ¶
func (*SbarStore) GetLastActivityForCase ¶
func (*SbarStore) RecordActivity ¶
func (*SbarStore) RecordActivityForCase ¶
func (*SbarStore) RecordDirectlyFollowsRelation ¶
func (*SbarStore) RecordStartActivity ¶
Click to show internal directories.
Click to hide internal directories.