Skip to content

Commit 94ca6f1

Browse files
committed
Update Dropsonde Types
This change updates the dropsonde submodule and the Doppler types related to it as we prepare for our RC1 release.
1 parent d968b78 commit 94ca6f1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

cloudfoundry-client/src/main/java/org/cloudfoundry/doppler/_ContainerMetric.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.cloudfoundry.doppler;
1818

19+
import org.cloudfoundry.Nullable;
1920
import org.immutables.value.Value;
2021

2122
import java.util.Objects;
@@ -33,8 +34,10 @@ public static ContainerMetric from(org.cloudfoundry.dropsonde.events.ContainerMe
3334
.applicationId(dropsonde.applicationId)
3435
.cpuPercentage(dropsonde.cpuPercentage)
3536
.diskBytes(dropsonde.diskBytes)
37+
.diskBytesQuota(dropsonde.diskBytesQuota)
3638
.instanceIndex(dropsonde.instanceIndex)
3739
.memoryBytes(dropsonde.memoryBytes)
40+
.memoryBytesQuota(dropsonde.memoryBytesQuota)
3841
.build();
3942
}
4043

@@ -53,6 +56,12 @@ public static ContainerMetric from(org.cloudfoundry.dropsonde.events.ContainerMe
5356
*/
5457
abstract Long getDiskBytes();
5558

59+
/**
60+
* The maximum bytes of disk allocated to container
61+
*/
62+
@Nullable
63+
abstract Long getDiskBytesQuota();
64+
5665
/**
5766
* The instance index of the contained application. (This, with applicationId, should uniquely identify a container.)
5867
*/
@@ -63,4 +72,10 @@ public static ContainerMetric from(org.cloudfoundry.dropsonde.events.ContainerMe
6372
*/
6473
abstract Long getMemoryBytes();
6574

75+
/**
76+
* The maximum bytes of memory allocated to container
77+
*/
78+
@Nullable
79+
abstract Long getMemoryBytesQuota();
80+
6681
}

0 commit comments

Comments
 (0)