Documentation
¶
Index ¶
- type IdSingleHandler
- func (this_ *IdSingleHandler) CacheId(ctx context.Context, idType module_id.IdType, id int64) error
- func (this_ *IdSingleHandler) Increment(ctx context.Context, idType module_id.IdType, size int64) (int64, error)
- func (this_ *IdSingleHandler) PersistLock(ctx context.Context, idType module_id.IdType) (unlocker module_id.Unlocker, err error)
- func (this_ *IdSingleHandler) RecoverLock(ctx context.Context, idType module_id.IdType) (unlocker module_id.Unlocker, err error)
- func (this_ *IdSingleHandler) ShouldCheckAndPersist() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdSingleHandler ¶
type IdSingleHandler struct {
*id_storage.IdStorage
// contains filtered or unexported fields
}
func NewIdSingleHandler ¶
func NewIdSingleHandler(dbService db.IService) (res *IdSingleHandler)
func (*IdSingleHandler) PersistLock ¶
func (*IdSingleHandler) RecoverLock ¶
func (*IdSingleHandler) ShouldCheckAndPersist ¶
func (this_ *IdSingleHandler) ShouldCheckAndPersist() bool
Click to show internal directories.
Click to hide internal directories.