Interface ServiceMode
-
@Immutable public interface ServiceMode
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceServiceMode.Builder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ServiceMode.Builderbuilder()GlobalServiceglobal()GlobalJobglobalJob()ReplicatedServicereplicated()ReplicatedJobreplicatedJob()static ServiceModewithGlobal()static ServiceModewithGlobalJob()static ServiceModewithJobReplicas(long totalCompletions)static ServiceModewithJobReplicas(long totalCompletions, long maxConcurrent)static ServiceModewithReplicas(long replicas)static ServiceModewithReplicas(long replicas, long maxConcurrent)
-
-
-
Method Detail
-
replicated
ReplicatedService replicated()
-
replicatedJob
ReplicatedJob replicatedJob()
-
global
GlobalService global()
-
globalJob
GlobalJob globalJob()
-
withReplicas
static ServiceMode withReplicas(long replicas)
-
withReplicas
static ServiceMode withReplicas(long replicas, long maxConcurrent)
-
withJobReplicas
static ServiceMode withJobReplicas(long totalCompletions)
-
withJobReplicas
static ServiceMode withJobReplicas(long totalCompletions, long maxConcurrent)
-
withGlobal
static ServiceMode withGlobal()
-
withGlobalJob
static ServiceMode withGlobalJob()
-
builder
static ServiceMode.Builder builder()
-
-