seqeron 0.18.0
Loading...
Searching...
No Matches
Org.Limitless.Seqeron.Util.IdleStrategies Class Reference

The duty-cycle idle strategy a process names in EnvIdleStrategy, as a C++ client does (util/IdleStrategy.hpp); a Java process names it by system property instead. More...

Static Public Member Functions

static Func< IIdleStrategy > FromEnvironment ()
 Resolves the strategy EnvIdleStrategy names.
 

Static Public Attributes

const string EnvIdleStrategy = "SEQERON_IDLE_STRATEGY"
 Names backoff (the default), yielding or busyspin, case-insensitive.
 

Detailed Description

The duty-cycle idle strategy a process names in EnvIdleStrategy, as a C++ client does (util/IdleStrategy.hpp); a Java process names it by system property instead.

Member Function Documentation

◆ FromEnvironment()

static Func< IIdleStrategy > Org.Limitless.Seqeron.Util.IdleStrategies.FromEnvironment ( )
inlinestatic

Resolves the strategy EnvIdleStrategy names.

Returns
a factory for that strategy: one instance per agent thread, never shared
Exceptions
ArgumentExceptionif the variable names no known strategy

Member Data Documentation

◆ EnvIdleStrategy

const string Org.Limitless.Seqeron.Util.IdleStrategies.EnvIdleStrategy = "SEQERON_IDLE_STRATEGY"
static

Names backoff (the default), yielding or busyspin, case-insensitive.


The documentation for this class was generated from the following file: