org.exoplatform.ws.frameworks.cometd.loadbalancer
Class RESTLoadBalancerService
java.lang.Object
org.exoplatform.ws.frameworks.cometd.loadbalancer.RESTLoadBalancerService
- All Implemented Interfaces:
- org.exoplatform.services.rest.resource.ResourceContainer
public class RESTLoadBalancerService
- extends Object
- implements org.exoplatform.services.rest.resource.ResourceContainer
Created by The eXo Platform SAS.
- Version:
- $Id: $
- Author:
- Vitaly Parfonov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESTLoadBalancerService
public RESTLoadBalancerService(LoadBalancer balancer)
- Parameters:
balancer - the strategy for load balancing of cometd cluster.
getCometdURL
public javax.ws.rs.core.Response getCometdURL(String exoid)
- Parameters:
exoid - the client id.
- Returns:
- base URL of cometd server in cluster for user.
release
public javax.ws.rs.core.Response release(String exoid)
- Parameters:
exoid - the client id.
- Returns:
- OK if release successful.
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.