Package org.infinispan.remoting

Examples of org.infinispan.remoting.RpcManager


      return globalConfiguration.getClusterName();
   }

   public List<Address> getMembers() {
      if (globalComponentRegistry == null) return null;
      RpcManager rpcManager = globalComponentRegistry.getComponent(RpcManager.class);
      return rpcManager == null ? null : rpcManager.getTransport().getMembers();
   }
View Full Code Here


      return rpcManager == null ? null : rpcManager.getTransport().getMembers();
   }

   public Address getAddress() {
      if (globalComponentRegistry == null) return null;
      RpcManager rpcManager = globalComponentRegistry.getComponent(RpcManager.class);
      return rpcManager == null ? null : rpcManager.getLocalAddress();
   }
View Full Code Here

      return rpcManager == null ? null : rpcManager.getLocalAddress();
   }

   public boolean isCoordinator() {
      if (globalComponentRegistry == null) return false;
      RpcManager rpcManager = globalComponentRegistry.getComponent(RpcManager.class);
      return rpcManager != null && rpcManager.getTransport().isCoordinator();
   }
View Full Code Here

      return globalConfiguration.getClusterName();
   }

   public List<Address> getMembers() {
      if (globalComponentRegistry == null) return null;
      RpcManager rpcManager = globalComponentRegistry.getComponent(RpcManager.class);
      return rpcManager == null ? null : rpcManager.getTransport().getMembers();
   }
View Full Code Here

      return rpcManager == null ? null : rpcManager.getTransport().getMembers();
   }

   public Address getAddress() {
      if (globalComponentRegistry == null) return null;
      RpcManager rpcManager = globalComponentRegistry.getComponent(RpcManager.class);
      return rpcManager == null ? null : rpcManager.getLocalAddress();
   }
View Full Code Here

      return rpcManager == null ? null : rpcManager.getLocalAddress();
   }

   public boolean isCoordinator() {
      if (globalComponentRegistry == null) return false;
      RpcManager rpcManager = globalComponentRegistry.getComponent(RpcManager.class);
      return rpcManager != null && rpcManager.getTransport().isCoordinator();
   }
View Full Code Here

TOP

Related Classes of org.infinispan.remoting.RpcManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.