Skip to content

Commit

Permalink
Update Dropsonde Types
Browse files Browse the repository at this point in the history
This change updates the dropsonde submodule and the Doppler types related to
it as we prepare for our RC1 release.
  • Loading branch information
nebhale committed Aug 15, 2016
1 parent d968b78 commit 94ca6f1
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package org.cloudfoundry.doppler;

import org.cloudfoundry.Nullable;
import org.immutables.value.Value;

import java.util.Objects;
Expand All @@ -33,8 +34,10 @@ public static ContainerMetric from(org.cloudfoundry.dropsonde.events.ContainerMe
.applicationId(dropsonde.applicationId)
.cpuPercentage(dropsonde.cpuPercentage)
.diskBytes(dropsonde.diskBytes)
.diskBytesQuota(dropsonde.diskBytesQuota)
.instanceIndex(dropsonde.instanceIndex)
.memoryBytes(dropsonde.memoryBytes)
.memoryBytesQuota(dropsonde.memoryBytesQuota)
.build();
}

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

/**
* The maximum bytes of disk allocated to container
*/
@Nullable
abstract Long getDiskBytesQuota();

/**
* The instance index of the contained application. (This, with applicationId, should uniquely identify a container.)
*/
Expand All @@ -63,4 +72,10 @@ public static ContainerMetric from(org.cloudfoundry.dropsonde.events.ContainerMe
*/
abstract Long getMemoryBytes();

/**
* The maximum bytes of memory allocated to container
*/
@Nullable
abstract Long getMemoryBytesQuota();

}

0 comments on commit 94ca6f1

Please sign in to comment.