Package org.apache.helix

Examples of org.apache.helix.HelixService


    if (!conn.isConnected()) {
      conn.connect();
    }

    HelixService service = (HelixService) _role;
    service.start();
  }
View Full Code Here


    return ((HelixService) _role).isStarted();
  }

  @Override
  public void disconnect() {
    HelixService service = (HelixService) _role;
    HelixConnection conn = _role.getConnection();

    service.stop();

    if (conn.isConnected()) {
      conn.disconnect();
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.helix.HelixService

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.