Class 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 Detail

      • TopologyReference

        public TopologyReference()
        The default constructor.
    • Method Detail

      • resolveDestinationCacheName

        public String resolveDestinationCacheName​(ParameterResolver resolver,
                                                  String sCacheName)
        Resolve the destination cache name using the following precedence rules:
        1. User specified destination-cache-name
        2. Source cache name
        Parameters:
        resolver - the ParameterResolver
        sCacheName - the source cache name
        Returns:
        the destination cache name
      • setCacheName

        @Injectable
        public void setCacheName​(Expression<String> expr)
        Set the destination cache name.
        Parameters:
        expr - the destination cache name expression