edu.rice.cs.cunit.instrumentors.threadCheck
Class AAddThreadCheckStrategy.CacheInfo

java.lang.Object
  extended by edu.rice.cs.cunit.instrumentors.threadCheck.AAddThreadCheckStrategy.CacheInfo
All Implemented Interfaces:
IScannerStrategy.IScanResult
Enclosing class:
AAddThreadCheckStrategy

public static class AAddThreadCheckStrategy.CacheInfo
extends java.lang.Object
implements IScannerStrategy.IScanResult

Cache hit/miss message.


Field Summary
(package private)  long _classCacheHit
          Class cache hit count.
(package private)  long _classCacheMiss
          Class cache miss count.
(package private)  long _combinePredicateCacheHit
          Combine predicate cache hit count.
(package private)  long _combinePredicateCacheMiss
          Combine predicate miss count.
(package private)  long _methodCacheHit
          Method cache hit count.
(package private)  long _methodCacheMiss
          Method cache miss count.
(package private)  long _timeSpent
          Time spent looking up annotation info.
 
Constructor Summary
AAddThreadCheckStrategy.CacheInfo()
           
 
Method Summary
 void addTimeSpent(long t)
           
 java.lang.String getPropertyName()
          Return the name of the property that was scanned for.
 void incClassCacheHit()
           
 void incClassCacheMiss()
           
 void incCombinePredicateCacheHit()
           
 void incCombinePredicateCacheMiss()
           
 void incMethodCacheHit()
           
 void incMethodCacheMiss()
           
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_classCacheHit

long _classCacheHit
Class cache hit count.


_classCacheMiss

long _classCacheMiss
Class cache miss count.


_methodCacheHit

long _methodCacheHit
Method cache hit count.


_methodCacheMiss

long _methodCacheMiss
Method cache miss count.


_combinePredicateCacheHit

long _combinePredicateCacheHit
Combine predicate cache hit count.


_combinePredicateCacheMiss

long _combinePredicateCacheMiss
Combine predicate miss count.


_timeSpent

long _timeSpent
Time spent looking up annotation info.

Constructor Detail

AAddThreadCheckStrategy.CacheInfo

public AAddThreadCheckStrategy.CacheInfo()
Method Detail

incClassCacheHit

public void incClassCacheHit()

incClassCacheMiss

public void incClassCacheMiss()

incMethodCacheHit

public void incMethodCacheHit()

incMethodCacheMiss

public void incMethodCacheMiss()

incCombinePredicateCacheHit

public void incCombinePredicateCacheHit()

incCombinePredicateCacheMiss

public void incCombinePredicateCacheMiss()

addTimeSpent

public void addTimeSpent(long t)

getPropertyName

public java.lang.String getPropertyName()
Return the name of the property that was scanned for.

Specified by:
getPropertyName in interface IScannerStrategy.IScanResult
Returns:
property name

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object.