Example usage for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client CFApplication getRunningInstances

List of usage examples for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client CFApplication getRunningInstances

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client CFApplication getRunningInstances.

Prototype

int getRunningInstances();

Source Link

Usage

From source file:org.springframework.ide.eclipse.boot.dash.cloudfoundry.CloudAppDashElement.java

@Override
public int getActualInstances() {
    CFApplication data = getSummaryData();
    return data != null ? data.getRunningInstances() : 0;
}