Class FederatedScheme.TopologyReference
- java.lang.Object
-
- com.tangosol.coherence.config.scheme.FederatedScheme.TopologyReference
-
- Enclosing class:
- FederatedScheme
public static class FederatedScheme.TopologyReference extends Object
The TopologyReference class is used to reference a Federation defined in the operational config.
-
-
Constructor Summary
Constructors Constructor Description TopologyReference()The default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCacheName(ParameterResolver resolver)Return the destination cache name.StringgetName(ParameterResolver resolver)Return theTopologyname.StringresolveDestinationCacheName(ParameterResolver resolver, String sCacheName)Resolve the destination cache name using the following precedence rules: User specified destination-cache-name Source cache namevoidsetCacheName(Expression<String> expr)Set the destination cache name.voidsetName(Expression<String> expr)Set theTopologyname.
-
-
-
Method Detail
-
resolveDestinationCacheName
public String resolveDestinationCacheName(ParameterResolver resolver, String sCacheName)
Resolve the destination cache name using the following precedence rules:- User specified destination-cache-name
- Source cache name
- Parameters:
resolver- theParameterResolversCacheName- the source cache name- Returns:
- the destination cache name
-
getCacheName
public String getCacheName(ParameterResolver resolver)
Return the destination cache name.- Parameters:
resolver- theParameterResolver- Returns:
- the cache name
-
setCacheName
@Injectable public void setCacheName(Expression<String> expr)
Set the destination cache name.- Parameters:
expr- the destination cache name expression
-
getName
public String getName(ParameterResolver resolver)
Return theTopologyname.- Parameters:
resolver- theParameterResolver.- Returns:
- the federation topology name
-
setName
@Injectable public void setName(Expression<String> expr)
Set theTopologyname.- Parameters:
expr- theTopologyname.
-
-