Top Description Constructors Methods
org.glassfish.grizzly.memory

pack-priv final Class ProbeNotifier

extends Object
Class Inheritance
Imports
org.glassfish.grizzly.monitoring.DefaultMonitoringConfig

Utility class, which has notification methods for different MemoryProbe events.
Author
Alexey Stashok

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
notifyBufferAllocated(final DefaultMonitoringConfig<MemoryProbe> config, final int
buffer size
size
)

Notify registered MemoryProbes about the "allocated" event.

pack-priv static void
notifyBufferAllocatedFromPool(final DefaultMonitoringConfig<MemoryProbe> config, final int
buffer size
size
)

Notify registered MemoryProbes about the "allocated from pool" event.

pack-priv static void
notifyBufferReleasedToPool(final DefaultMonitoringConfig<MemoryProbe> config, final int
buffer size
size
)

Notify registered MemoryProbes about the "release to pool" event.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ProbeNotifierback to summary
pack-priv ProbeNotifier()

Method Detail

notifyBufferAllocatedback to summary
pack-priv static void notifyBufferAllocated(final DefaultMonitoringConfig<MemoryProbe> config, final int size)

Notify registered MemoryProbes about the "allocated" event.

Parameters
size:int

buffer size

notifyBufferAllocatedFromPoolback to summary
pack-priv static void notifyBufferAllocatedFromPool(final DefaultMonitoringConfig<MemoryProbe> config, final int size)

Notify registered MemoryProbes about the "allocated from pool" event.

Parameters
size:int

buffer size

notifyBufferReleasedToPoolback to summary
pack-priv static void notifyBufferReleasedToPool(final DefaultMonitoringConfig<MemoryProbe> config, final int size)

Notify registered MemoryProbes about the "release to pool" event.

Parameters
size:int

buffer size