Class NamedExecutorService
java.lang.Object
com.oracle.coherence.concurrent.config.NamedExecutorService
A holder for a named
ExecutorService
.- Since:
- 21.12
- Author:
- rl 11.20.21
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String
The description of thisExecutorService
.protected final String
TheExecutorService
name.protected final Supplier
<ExecutorService> TheSupplier
to create theExecutorService
. -
Constructor Summary
ConstructorsConstructorDescriptionNamedExecutorService
(String sName, String sDescription, Supplier<ExecutorService> supplier) Constructs a newNamedExecutorService
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of thisExecutorService
.TheExecutorService
associated withgetName()
.getName()
Returns theExecutorService
name.
-
Field Details
-
f_sName
TheExecutorService
name. -
f_sDescription
The description of thisExecutorService
. -
f_supplier
TheSupplier
to create theExecutorService
.
-
-
Constructor Details
-
NamedExecutorService
Constructs a newNamedExecutorService
. This is a simple wrapper around an executor's logical name and a supplier that produces theExecutorService
itself.- Parameters:
sName
- the logicalExecutorService
namesDescription
- the description of theExecutorService
supplier
- theSupplier
that will produce theExecutorService
-
-
Method Details
-
getName
-
getDescription
Returns the description of thisExecutorService
.- Returns:
- the description of this
ExecutorService
-
getExecutorService
TheExecutorService
associated withgetName()
.- Returns:
ExecutorService
associated withgetName()
-