public class WindowsPerformanceCounterFeed extends AbstractFeed
To use this feed, you must provide the entity, and a collection of mappings between Windows performance counter names and Brooklyn attribute sensors.
This feed uses SSH to invoke the windows utility typeperf to query for a specific set of performance counters, by name. The values are extracted from the response, and published to the entity's sensors.
Example:
{@code| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsPerformanceCounterFeed.Builder |
AbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<java.util.Collection<WindowsPerformanceCounterPollConfig<?>>> |
POLLS |
ONLY_IF_SERVICE_UP| Constructor and Description |
|---|
WindowsPerformanceCounterFeed()
For rebind; do not call directly; use builder
|
| Modifier and Type | Method and Description |
|---|---|
static WindowsPerformanceCounterFeed.Builder |
builder() |
destroy, getEntity, getRebindSupport, isActivated, isActive, isRunning, isSuspended, resume, setEntity, start, stop, suspendconfig, configure, getAllConfig, getConfig, getConfigMap, getDisplayName, getName, getUniqueTag, isDestroyed, setConfig, setDisplayName, setName, tags, toStringgetCatalogItemId, getId, getManagementContext, getTagSupport, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, getName, getUniqueTag, isDestroyedgetCatalogItemId, getDisplayName, getTagSupport, tagsconfig, setConfigsetCatalogItemIdpublic static final ConfigKey<java.util.Collection<WindowsPerformanceCounterPollConfig<?>>> POLLS
public WindowsPerformanceCounterFeed()
public static WindowsPerformanceCounterFeed.Builder builder()