Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UID string InstanceID string )
Functions ¶
func DecNumberOfFeatures ¶
func DecNumberOfFeatures()
func IncNumberOfFeatures ¶
func IncNumberOfFeatures()
func IncrFeatureAppends ¶
func IncrFeatureAppends()
func IncrFeatureGets ¶
func IncrFeatureGets()
func IncrFeatureIncrements ¶
func IncrFeatureIncrements()
func IncrFeatureSets ¶
func IncrFeatureSets()
func IncrFeatureUpdates ¶
func IncrFeatureUpdates()
func IncrMetadataReqs ¶
func IncrMetadataReqs()
Types ¶
type NoLeaderRunnableFunc ¶
NoLeaderRunnableFunc implements Runnable using a function that's run on every instance (not only the leader). It's very important that the given function block until it's done running.
func (*NoLeaderRunnableFunc) NeedLeaderElection ¶
func (r *NoLeaderRunnableFunc) NeedLeaderElection() bool
NeedLeaderElection make sure the Runnable will run on every instance
Click to show internal directories.
Click to hide internal directories.