@Override public synchronized Resource getUsedResources() { ApplicationResourceUsageReportProtoOrBuilder p = viaProto ? proto : builder; if (this.usedResources != null) { return this.usedResources; } if (!p.hasUsedResources()) { return null; } this.usedResources = convertFromProtoFormat(p.getUsedResources()); return this.usedResources; }
@Override public synchronized Resource getReservedResources() { ApplicationResourceUsageReportProtoOrBuilder p = viaProto ? proto : builder; if (this.reservedResources != null) { return this.reservedResources; } if (!p.hasReservedResources()) { return null; } this.reservedResources = convertFromProtoFormat(p.getReservedResources()); return this.reservedResources; }
@Override public synchronized Resource getNeededResources() { ApplicationResourceUsageReportProtoOrBuilder p = viaProto ? proto : builder; if (this.neededResources != null) { return this.neededResources; } if (!p.hasNeededResources()) { return null; } this.neededResources = convertFromProtoFormat(p.getNeededResources()); return this.neededResources; }
@Override public synchronized int getNumUsedContainers() { ApplicationResourceUsageReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getNumUsedContainers()); }
@Override public synchronized int getNumReservedContainers() { ApplicationResourceUsageReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getNumReservedContainers()); }
@Override public synchronized long getMemorySeconds() { ApplicationResourceUsageReportProtoOrBuilder p = viaProto ? proto : builder; return p.getMemorySeconds(); }
@Override public synchronized long getVcoreSeconds() { ApplicationResourceUsageReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getVcoreSeconds()); }
@Override public synchronized long getGcoreSeconds() { ApplicationResourceUsageReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getGcoreSeconds()); }
@Override public synchronized float getQueueUsagePercentage() { ApplicationResourceUsageReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getQueueUsagePercentage()); }
@Override public synchronized float getClusterUsagePercentage() { ApplicationResourceUsageReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getClusterUsagePercentage()); }