congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
AppFabricClient
Code IndexAdd Tabnine to your IDE (free)

How to use
AppFabricClient
in
co.cask.cdap.internal

Best Java code snippets using co.cask.cdap.internal.AppFabricClient (Showing top 20 results out of 315)

origin: caskdata/cdap

@Override
public void addSchedule(ScheduleDetail scheduleDetail) throws Exception {
 appFabricClient.addSchedule(application, scheduleDetail);
}
origin: caskdata/cdap

@Override
public void deleteAllApplications(NamespaceId namespaceId) throws Exception {
 appFabricClient.deleteAllApplications(namespaceId);
}
origin: co.cask.cdap/cdap-unit-test

@Override
public void delete() throws Exception {
 appFabricClient.deleteApplication(application);
}
origin: caskdata/cdap

@Override
public ApplicationManager deployApplication(ApplicationId appId, AppRequest appRequest) throws Exception {
 appFabricClient.deployApplication(appId, appRequest);
 return appManagerFactory.create(appId);
}
origin: cdapio/cdap

public List<RunRecord> getHistory(Id.Program programId, ProgramRunStatus status) throws Exception {
 String namespace = programId.getNamespaceId();
 String application = programId.getApplicationId();
 String programName = programId.getId();
 String categoryName = programId.getType().getCategoryName();
 return doGetHistory(namespace, application, ApplicationId.DEFAULT_VERSION, programName, categoryName, status);
}
origin: co.cask.cdap/cdap-unit-test

@Override
public List<RunRecord> getHistory(ProgramId programId, ProgramRunStatus status) {
 try {
  return appFabricClient.getHistory(programId, status);
 } catch (Exception e) {
  throw Throwables.propagate(e);
 }
}
origin: caskdata/cdap

@Override
public void deleteSchedule(ScheduleId scheduleId) throws Exception {
 appFabricClient.deleteSchedule(scheduleId);
}
origin: caskdata/cdap

@Override
public ApplicationDetail getInfo() throws Exception {
 return appFabricClient.getInfo(application);
}
origin: caskdata/cdap

@Override
public void enableSchedule(ScheduleId scheduleId) throws Exception {
 appFabricClient.enableSchedule(scheduleId);
}
origin: co.cask.cdap/cdap-unit-test

@Override
public int getFlowletInstances(String flowletName) {
 try {
  return appFabricClient.getFlowletInstances(programId.getNamespace(), programId.getApplication(),
                        programId.getProgram(), flowletName).getInstances();
 } catch (Exception e) {
  throw Throwables.propagate(e);
 }
}
origin: co.cask.cdap/cdap-unit-test

@Override
public ApplicationManager deployApplication(ApplicationId appId, AppRequest appRequest) throws Exception {
 appFabricClient.deployApplication(appId, appRequest);
 return appManagerFactory.create(appId);
}
origin: cdapio/cdap

public List<RunRecord> getHistory(ProgramId programId, ProgramRunStatus status) throws Exception {
 String namespace = programId.getNamespace();
 String application = programId.getApplication();
 String applicationVersion = programId.getVersion();
 String programName = programId.getProgram();
 String categoryName = programId.getType().getCategoryName();
 return doGetHistory(namespace, application, applicationVersion, programName, categoryName, status);
}
origin: caskdata/cdap

@Override
public List<RunRecord> getHistory(ProgramId programId, ProgramRunStatus status) {
 try {
  return appFabricClient.getHistory(programId, status);
 } catch (Exception e) {
  throw Throwables.propagate(e);
 }
}
origin: co.cask.cdap/cdap-unit-test

@Override
public void deleteSchedule(ScheduleId scheduleId) throws Exception {
 appFabricClient.deleteSchedule(scheduleId);
}
origin: co.cask.cdap/cdap-unit-test

@Override
public ApplicationDetail getInfo() throws Exception {
 return appFabricClient.getInfo(application);
}
origin: co.cask.cdap/cdap-unit-test

@Override
public void enableSchedule(ScheduleId scheduleId) throws Exception {
 appFabricClient.enableSchedule(scheduleId);
}
origin: cdapio/cdap

public void updateApplication(ApplicationId appId, AppRequest appRequest) throws Exception {
 deployApplication(appId, appRequest);
}
origin: co.cask.cdap/cdap-unit-test

@Override
public void addSchedule(ScheduleDetail scheduleDetail) throws Exception {
 appFabricClient.addSchedule(application, scheduleDetail);
}
origin: co.cask.cdap/cdap-unit-test

@Override
public void deleteAllApplications(NamespaceId namespaceId) throws Exception {
 appFabricClient.deleteAllApplications(namespaceId);
}
origin: caskdata/cdap

@Override
public void delete() throws Exception {
 appFabricClient.deleteApplication(application);
}
co.cask.cdap.internalAppFabricClient

Javadoc

Client tool for AppFabricHttpHandler.

Most used methods

  • deployApplication
  • addSchedule
  • deleteAllApplications
  • deleteApplication
  • deleteSchedule
  • doGetHistory
  • enableSchedule
  • getFlowletInstances
  • getHistory
  • getInfo
  • getNamespacePath
  • getPlugins
  • getNamespacePath,
  • getPlugins,
  • getProgramSchedules,
  • getRuntimeArgs,
  • getServiceInstances,
  • getStatus,
  • getVersionedInfo,
  • getWorkerInstances,
  • getWorkflowNodeStates,
  • getWorkflowToken

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • getSharedPreferences (Context)
  • onCreateOptionsMenu (Activity)
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JButton (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Option (scala)
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now