Interface InfoStore
- 
 public interface InfoStoreA store of info objects (packages, classes, fields, methods, and annotations). 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()ClassSource_AggregategetClassSource()ClassInfogetDelayableClassInfo(java.lang.String name)Answer (possibly delayed) class info object for a specified class name.java.lang.StringgetHashText()Answer a print string for the receiver, for use in debugging.InfoStoreFactorygetInfoStoreFactory()PackageInfogetPackageInfo(java.lang.String name)Answer the package info object for a specified package name.longgetRuleTime()Answer the total time, in milliseconds, spent doing rule processing.longgetScanTime()Answer the total time, in milliseconds, spent scanning classes.longgetStreamCount()Answer the number of entries to stream processing.longgetStreamTime()Answer the total time, in milliseconds, doing stream processing.java.lang.StringinternClassName(java.lang.String className)Answer the interned copy of a specified class name.java.lang.StringinternDescription(java.lang.String description)Answer the interned copy of a specified description.java.lang.StringinternPackageName(java.lang.String packageName)Answer the interned copy of a specified package name.voidlog(com.ibm.websphere.ras.TraceComponent logger)Log the receiver to the specified logger.voidopen()
 
- 
- 
- 
Method Detail- 
getHashTextjava.lang.String getHashText() Answer a print string for the receiver, for use in debugging. The value is guaranteed to be unique during the lifetime of the receiver, and, for frequently created types, will be created on demand. - Returns:
- A print string for the receiver.
 
 - 
logvoid log(com.ibm.websphere.ras.TraceComponent logger) Log the receiver to the specified logger. - Parameters:
- logger- The logger to receive the display of the receiver.
 
 - 
getInfoStoreFactoryInfoStoreFactory getInfoStoreFactory() 
 - 
getClassSourceClassSource_Aggregate getClassSource() 
 - 
openvoid open() throws InfoStoreException - Throws:
- InfoStoreException
 
 - 
closevoid close() throws InfoStoreException- Throws:
- InfoStoreException
 
 - 
internDescriptionjava.lang.String internDescription(java.lang.String description) Answer the interned copy of a specified description. - Parameters:
- description- The string description value which is to be interned.
- Returns:
- The interned copy of a specified string.
- See Also:
- internPackageName(String),- internClassName(String),- #internQualifiedFieldName(String),- #internQualifiedMethodName(String)
 
 - 
internPackageNamejava.lang.String internPackageName(java.lang.String packageName) Answer the interned copy of a specified package name. - Parameters:
- packageName- The package name which is to be interned.
- Returns:
- The interned copy of the package name.
- See Also:
- internDescription(String),- internClassName(String),- #internQualifiedFieldName(String),- #internQualifiedMethodName(String)
 
 - 
internClassNamejava.lang.String internClassName(java.lang.String className) Answer the interned copy of a specified class name. Each store has a string store used to guarantee unique of string values. Maintenance of a string store is necessary because the process of loading class and annotations information does not guarantee identical instances for strings which have the same value, and because collections of related classes tend to produce many of the same string values. For example, the reference of a class to a super type, or to an interface, uses the same string value as the declaration of the super type, or of the interface. Interning string values leads to dramatically smaller overall string allocations. - Parameters:
- className- The string class name which is to be interned.
- Returns:
- The interned copy of the class name.
- See Also:
- internDescription(String),- #internQualifiedFieldName(String),- #internQualifiedMethodName(String)
 
 - 
getPackageInfoPackageInfo getPackageInfo(java.lang.String name) Answer the package info object for a specified package name. - Returns:
- The package info object for a specified package name. TODO What happens if the package is not found?
 
 - 
getDelayableClassInfoClassInfo getDelayableClassInfo(java.lang.String name) Answer (possibly delayed) class info object for a specified class name. - Returns:
- The class info object for a specified class name.
 
 - 
getStreamCountlong getStreamCount() Answer the number of entries to stream processing. - Returns:
- The number of entries to stream processing.
 
 - 
getStreamTimelong getStreamTime() Answer the total time, in milliseconds, doing stream processing. - Returns:
- The total time, in milliseconds, doing stream processing.
- See Also:
- getRuleTime()
 
 - 
getScanTimelong getScanTime() Answer the total time, in milliseconds, spent scanning classes. - Returns:
- The total time, in milliseconds, spent scanning classes.
- See Also:
- getRuleTime()
 
 - 
getRuleTimelong getRuleTime() Answer the total time, in milliseconds, spent doing rule processing. - Returns:
- The total time, in milliseconds, spent doing rule processing.
- See Also:
- getScanTime()
 
 
- 
 
-