Package com.yourkit.probes
Class ResourceTable<T>
java.lang.Object
com.yourkit.probes.Table
com.yourkit.probes.ResourceTable<T>
Account resources associated with objects.
Use this class directly only for resources which do not have Open and/or Close events.
Otherwise use
ResourceRegistry
instead which encapsulates an instance of this class, as well
as dependent tables for Open and Close, providing useful methods to work with the triple.-
Field Summary
Fields inherited from class com.yourkit.probes.Table
LASTING_EVENTS, MASK_FOR_LASTING_EVENTS, MASK_FOR_POINT_EVENTS, NO_ROW, RECORD_STACK_TRACE, RECORD_THREAD
-
Constructor Summary
ConstructorsConstructorDescriptionResourceTable
(Table parentTable, String tableName, String resourceIdentifierColumnName) Create dependent tableResourceTable
(Class<?> probeClass, String tableName, String resourceIdentifierColumnName) Create top table -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setResourceName
(int row, String name) void
setResourceObject
(int row, T resource) Methods inherited from class com.yourkit.probes.Table
closeRow, createRow, createRow, deleteRow, setEventTableRowException, setMinimumRecordedLastingEventTime, shouldIgnoreRow
-
Constructor Details
-
Method Details
-
setResourceObject
-
hasResourceName
public boolean hasResourceName() -
setResourceName
-