Interface EntityMetricsLoadEvent

Event about a single call to an EntityLoader method.

interface EntityMetricsLoadEvent {
    count: number;
    duration: number;
    entityClassName: string;
    type: EntityMetricsLoadType;
}

Properties

count: number

Number of entities returned for this load.

duration: number

Total duration of this load, including fetch and construction of entities.

entityClassName: string

Class name of the Entity being loaded.

EntityMetricsLoadType for this load.