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 String
getCacheName(ParameterResolver resolver)
Return the destination cache name.String
getName(ParameterResolver resolver)
Return theTopology
name.String
resolveDestinationCacheName(ParameterResolver resolver, String sCacheName)
Resolve the destination cache name using the following precedence rules: User specified destination-cache-name Source cache namevoid
setCacheName(Expression<String> expr)
Set the destination cache name.void
setName(Expression<String> expr)
Set theTopology
name.
-
-
-
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
- theParameterResolver
sCacheName
- 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 theTopology
name.- Parameters:
resolver
- theParameterResolver
.- Returns:
- the federation topology name
-
setName
@Injectable public void setName(Expression<String> expr)
Set theTopology
name.- Parameters:
expr
- theTopology
name.
-
-