Class Track
java.lang.Object
com.vaadin.kubernetes.starter.sessiontracker.serialization.debug.Track
- All Implemented Interfaces:
Serializable
Container of information about serialized objects.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignHandle(ToIntFunction<Object> handleLookup) Associate the tracking object with instance handle.intGets the handle of the tracked object in the references table.static TrackwithEstimatedDepth(int depth) withEstimatedHandle(int handle)
-
Field Details
-
id
public final int idThe unique identifier of the serialized object in the stream. -
depth
public final int depthObject graph depth. -
stackInfo
Path to the object in the object graph. -
className
Type of the Object being tracked.
-
-
Constructor Details
-
Track
-
-
Method Details
-
getHandle
public int getHandle()Gets the handle of the tracked object in the references table.- Returns:
- the handle of the tracked object, or -1 if the object is not present in the references table.
-
assignHandle
Associate the tracking object with instance handle.- Parameters:
handleLookup- a function that gets the handle of the current object.- Returns:
- this instance, for chaining.
-
withEstimatedDepth
-
withEstimatedHandle
-
unknown
-