Package co.cask.cdap.proto

Examples of co.cask.cdap.proto.NotRunningProgramLiveInfo


  }

  @Override
  public ProgramLiveInfo getLiveInfo(Id.Program programId, ProgramType type) {
    if (!isRunning(programId, type)) {
      return new NotRunningProgramLiveInfo(programId, type);
    }

    if (type.equals(ProgramType.SERVICE)) {
      Set<String> discoverableNames = new HashSet<String>();
      for (Map.Entry<RunId, RuntimeInfo> entry : list(type).entrySet()) {
View Full Code Here


        // Add a list of announced services and their discoverables to the liveInfo.
        liveInfo.addServices(report.getServices());
        return liveInfo;
      }
    }
    return new NotRunningProgramLiveInfo(program, type);
  }
View Full Code Here

TOP

Related Classes of co.cask.cdap.proto.NotRunningProgramLiveInfo

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.