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 Detail

      • 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
      • 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 common DaemonPool.

        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