Documentation
¶
Index ¶
Constants ¶
View Source
const CollectionLockTimeout = time.Minute
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a coordination service which is responsible for all distributed operations like: - distributed locks - obtain cluster information
func NewInMemoryService ¶
NewInMemoryService returns configured inmemory Service
func NewRedisService ¶
func NewRedisService(ctx context.Context, serverName string, factory *meta.RedisPoolFactory) (*Service, error)
NewRedisService returns configured Redis Service
func (*Service) CreateLock ¶
CreateLock proxies request to the locks.LockFactory
func (*Service) GetJitsuInstancesInCluster ¶
GetJitsuInstancesInCluster proxies request to the clusters.Manager
Click to show internal directories.
Click to hide internal directories.