Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( UID string InstanceID string )
Functions ¶
func DecNumberOfFeatures ¶
func DecNumberOfFeatures()
DecNumberOfFeatures decrements the number of features that are being served by the engine.
func IncNumberOfFeatures ¶
func IncNumberOfFeatures()
IncNumberOfFeatures increments the number of features that are being served by the engine.
func IncrFeatureAppends ¶
func IncrFeatureAppends()
IncrFeatureAppends increments the number of feature `Append` requests.
func IncrFeatureDescriptorReqs ¶
func IncrFeatureDescriptorReqs()
IncrFeatureDescriptorReqs increments the number of feature descriptor requests.
func IncrFeatureGets ¶
func IncrFeatureGets()
IncrFeatureGets increments the number of feature `Get` requests.
func IncrFeatureIncrements ¶
func IncrFeatureIncrements()
IncrFeatureIncrements increments the number of feature `Increment` requests.
func IncrFeatureSets ¶
func IncrFeatureSets()
IncrFeatureSets increments the number of feature `Set` requests.
func IncrFeatureUpdates ¶
func IncrFeatureUpdates()
IncrFeatureUpdates increments the number of feature `Update` requests.
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