Package com.tangosol.net
Interface OperationalContext
public interface OperationalContext
OperationalContext is an interface for providing Oracle Coherence
operational configuration.
- Since:
- Coherence 3.7
- Author:
- lh 2010.10.29
-
Method Summary
Modifier and TypeMethodDescriptionReturn a Map of address provider factories.The registry for all builders associated with the cluster.com.tangosol.internal.util.DaemonPool
Return the commonDaemonPool
.Return the IP associated with the network interface to use for multicast based discovery.int
Return the TTL for multicast based discovery.int
Get the product edition.Get the product edition in a formatted string.Return a Map of network filter factories.Return an IdentityAsserter that can be used to establish a user's identity.Return an IdentityTransformer that can be used to transform a Subject into an identity assertion.Return a Member object representing this process.int
Return the TCP port on which this member is bound.Return a Map of serializer factories.Return a Map of snapshot archiver factories.Return a SocketProviderFactory.boolean
Indicates if Subject scoping is enabled.
-
Method Details
-
getEdition
int getEdition()Get the product edition.- Returns:
- the product edition
-
getEditionName
String getEditionName()Get the product edition in a formatted string.- Returns:
- the product edition in a formatted string
-
getLocalMember
Member getLocalMember()Return a Member object representing this process.- Returns:
- the local Member
-
getFilterMap
Map<String,WrapperStreamFactory> getFilterMap()Return a Map of network filter factories.- Returns:
- a Map of WrapperStreamFactory instances keyed by filter name
-
getSerializerMap
Map<String,SerializerFactory> getSerializerMap()Return a Map of serializer factories.- Returns:
- a Map of SerializerFactory instances keyed by serializer name
-
getSnapshotArchiverMap
Map<String,SnapshotArchiverFactory> getSnapshotArchiverMap()Return a Map of snapshot archiver factories.- Returns:
- a Map of
SnapshotArchiverFactory
keyed by name - Since:
- Coherence 12.1.3
-
getAddressProviderMap
Map<String,AddressProviderFactory> getAddressProviderMap()Return a Map of address provider factories.- Returns:
- a Map of
AddressProviderFactory
keyed by name - Since:
- Coherence 12.1.2
-
getBuilderRegistry
ParameterizedBuilderRegistry getBuilderRegistry()The registry for all builders associated with the cluster. A builder can be looked up via the class it produces and a name for the builder usingParameterizedBuilderRegistry.getBuilder(Class, String)
or just by the class it builds if there are no named builders.Currently, only
SerializerFactory
,ParameterizedBuilder
<PersistenceEnvironment
> andParameterizedBuilder
<StorageAccessAuthorizer
> are registered by the implementation.All registered builders implementing
Disposable
will be disposed.- Returns:
- the
ParameterizedBuilderRegistry
- Since:
- Coherence 12.2.1
-
getSocketProviderFactory
SocketProviderFactory getSocketProviderFactory()Return a SocketProviderFactory.- Returns:
- a SocketProviderFactory
-
getLocalTcpPort
int getLocalTcpPort()Return the TCP port on which this member is bound. While this is often the same value as getLocalMember().getPort(), it is not always so.- Returns:
- the local TCP port or zero if unbound.
- Since:
- 12.2.1
-
getIdentityAsserter
IdentityAsserter getIdentityAsserter()Return an IdentityAsserter that can be used to establish a user's identity.- Returns:
- the IdentityAsserter
-
getIdentityTransformer
IdentityTransformer getIdentityTransformer()Return an IdentityTransformer that can be used to transform a Subject into an identity assertion.- Returns:
- the IdentityTransformer
-
isSubjectScopingEnabled
boolean isSubjectScopingEnabled()Indicates if Subject scoping is enabled.- Returns:
- true if subject scoping is enabled
-
getDiscoveryTimeToLive
int getDiscoveryTimeToLive()Return the TTL for multicast based discovery.- Returns:
- the TTL
- Since:
- 12.2.1
-
getDiscoveryInterface
InetAddress getDiscoveryInterface()Return the IP associated with the network interface to use for multicast based discovery.- Returns:
- the associated InetAddress or null
- Since:
- 12.2.1
-
getCommonDaemonPool
com.tangosol.internal.util.DaemonPool getCommonDaemonPool()Return the commonDaemonPool
. The common pool is used by Coherence for common tasks such as async handling of completable futures in place of the fork-join pool.- Returns:
- the common
DaemonPool
-