com.jrockit.memleak.value
Class RelationshipInfo

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface com.jrockit.memleak.IRelationshipInfo
EMPTY_ARRAY
 
Constructor Summary
RelationshipInfo(IObjectInfo fromInfo, long keepalive_size)
           
 
Method Summary
 IObjectInfo getFromInfo()
           
 long getKeepAliveSizeOf()
           
 IObjectInfo getObjectInfo()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelationshipInfo

public RelationshipInfo(IObjectInfo fromInfo,
                        long keepalive_size)
Parameters:
fromInfo -
keepalive_size -
Method Detail

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.