public interface CoherenceClusterMember extends JavaApplication
JavaApplication that represents an Oracle Coherence Cluster Member
at runtime.
Copyright (c) 2014. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Modifier and Type | Interface and Description |
|---|---|
static class |
CoherenceClusterMember.MetaClass
The
MetaClass for CoherenceClusterMembers. |
RemoteChannel.AcknowledgeWhen, RemoteChannel.InjectJAVA_HOME, JAVA_NET_PREFER_IPV4_STACK, JAVA_NET_PREFER_IPV6_STACK, JAVA_RMI_SERVER_HOSTNAME| Modifier and Type | Method and Description |
|---|---|
com.tangosol.net.NamedCache |
getCache(String cacheName)
Obtains a proxy of the specified
NamedCache available in the
CoherenceClusterMember. |
<K,V> com.tangosol.net.NamedCache<K,V> |
getCache(String cacheName,
Class<K> keyClass,
Class<V> valueClass)
Obtains a proxy of a strongly-typed
NamedCache available in the
CoherenceClusterMember. |
Set<com.tangosol.util.UID> |
getClusterMemberUIDs()
|
String |
getClusterName()
Obtains the cluster name for the local member.
|
int |
getClusterSize()
Obtains the number of members in the cluster in which the member represented
by this
CoherenceClusterMember belongs. |
int |
getLocalMemberId()
Obtains the local member id for the
CoherenceClusterMember. |
com.tangosol.util.UID |
getLocalMemberUID()
Obtains the local member
UID for the CoherenceClusterMember. |
String |
getRoleName()
Obtains the role name for the local member.
|
com.oracle.bedrock.runtime.coherence.ServiceStatus |
getServiceStatus(String serviceName)
Determines the status of a service being run by the
CoherenceClusterMember. |
String |
getSiteName()
Obtains the site name for the local member.
|
boolean |
isServiceRunning(String serviceName)
Determines if a specified service is being run by the
CoherenceClusterMember. |
com.oracle.bedrock.util.Trilean |
isStorageEnabled(String serviceName)
Determines if a specified service is storage enabled.
|
getProxyFor, getSystemProperties, getSystemProperty, invokeclose, close, exitValue, getDefaultTimeout, getId, getName, getOptions, getPlatform, isOperational, waitForadd, add, get, has, removeaddListener, get, raise, removeListener, submit, submitint getClusterSize()
CoherenceClusterMember belongs.int getLocalMemberId()
CoherenceClusterMember.com.tangosol.util.UID getLocalMemberUID()
UID for the CoherenceClusterMember.UIDSet<com.tangosol.util.UID> getClusterMemberUIDs()
Set of UID, one for each CoherenceClusterMemberString getRoleName()
String getSiteName()
String getClusterName()
com.tangosol.net.NamedCache getCache(String cacheName)
NamedCache available in the
CoherenceClusterMember.
WARNING: Some methods on the returned NamedCache proxy are not
available for remote execution and are thus not supported. Attempts to
use such methods will thrown UnsupportedOperationException.
The unsupported methods are: getCacheService, addMapListener, removeMapListener, entrySet, values, addIndex and removeIndex.
Additionally note that method invocations taking unserializable parameters
or returning unserializable values will throw NotSerializableExceptions.
cacheName - the name of the NamedCacheNamedCache<K,V> com.tangosol.net.NamedCache<K,V> getCache(String cacheName, Class<K> keyClass, Class<V> valueClass)
NamedCache available in the
CoherenceClusterMember.
WARNING: Some methods on the returned NamedCache proxy are not
available for remote execution and are thus not supported. Attempts to
use such methods will thrown UnsupportedOperationException.
The unsupported methods are: getCacheService, addMapListener, removeMapListener, entrySet, values, addIndex and removeIndex.
Additionally note that method invocations taking unserializable parameters
or returning unserializable values will throw NotSerializableExceptions.
K - the type of the key classV - the type of the value classcacheName - the name of the NamedCachekeyClass - the type of the keys for the NamedCachevalueClass - the type of the values for the NamedCacheNamedCacheboolean isServiceRunning(String serviceName)
CoherenceClusterMember.serviceName - the name of the servicetrue if the service is running, false otherwisecom.oracle.bedrock.util.Trilean isStorageEnabled(String serviceName)
serviceName - the name of the serviceTrilean indicating if the service is storage enabled Trilean.TRUE,
disabled Trilean.FALSE or unknown / undefined / not applicable Trilean.UNKNOWNcom.oracle.bedrock.runtime.coherence.ServiceStatus getServiceStatus(String serviceName)
CoherenceClusterMember.serviceName - the name of the serviceServiceStatusCopyright © 2017. All rights reserved.