com.jrockit.memleak.value
Class RelationshipInfo
java.lang.Object
com.jrockit.memleak.value.RelationshipInfo
- All Implemented Interfaces:
- IRelationshipInfo, IObjectInfoHolder
public class RelationshipInfo
- extends java.lang.Object
- implements IRelationshipInfo, IObjectInfoHolder
Represents a relation from one object to an object graph.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RelationshipInfo
public RelationshipInfo(IObjectInfo fromInfo,
long keepalive_size)
- Parameters:
fromInfo
- keepalive_size
-
getFromInfo
public IObjectInfo getFromInfo()
- Specified by:
getFromInfo
in interface IRelationshipInfo
- Returns:
- the id of the from object
getObjectInfo
public IObjectInfo getObjectInfo()
- Specified by:
getObjectInfo
in interface IObjectInfoHolder
- Returns:
- an
IObjectInfo
, or possibly (subject to change) null.
getKeepAliveSizeOf
public long getKeepAliveSizeOf()
- Specified by:
getKeepAliveSizeOf
in interface IRelationshipInfo
- Returns:
- keepAliveSizeOf for the to object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.