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 TypeMethodDescriptionbooleanvoidsetResourceName(int row, String name) voidsetResourceObject(int row, T resource) Methods inherited from class com.yourkit.probes.Table
closeRow, createRow, createRow, deleteRow, setEventTableRowException, setMinimumRecordedLastingEventTime, shouldIgnoreRow
-
Constructor Details
-
ResourceTable
public ResourceTable(@NotNull Class<?> probeClass, String tableName, @Nullable String resourceIdentifierColumnName) Create top table -
ResourceTable
public ResourceTable(@NotNull Table parentTable, @NotNull String tableName, @Nullable String resourceIdentifierColumnName) Create dependent table
-
-
Method Details
-
setResourceObject
-
hasResourceName
public boolean hasResourceName() -
setResourceName
-