398/461

## glassfish:kernel:file-cache:addHeapSizeEvent

add heap size event

Synopsis

    glassfish:kernel:file-cache:addHeapSizeEvent(
    java.lang.String fileCacheName,
    long size)

Description

This event is called when the file cache allocates additional heap memory for its resources.

Use this event to count heap memory size used by the file cache.

Parameters

`fileCacheName`

  The file cache name.

`size`

  The size of the newly allocated heap memory block.