Class TimeRecordingObjectEvaluator<T,​V extends java.lang.Comparable<V>>

  • All Implemented Interfaces:
    org.api4.java.common.attributedobjects.IGetter<T,​V>, org.api4.java.common.attributedobjects.IObjectEvaluator<T,​V>, org.api4.java.common.control.ILoggingCustomizable

    public class TimeRecordingObjectEvaluator<T,​V extends java.lang.Comparable<V>>
    extends java.lang.Object
    implements org.api4.java.common.attributedobjects.IObjectEvaluator<T,​V>, org.api4.java.common.control.ILoggingCustomizable
    • Constructor Detail

      • TimeRecordingObjectEvaluator

        public TimeRecordingObjectEvaluator​(org.api4.java.common.attributedobjects.IObjectEvaluator<T,​V> baseEvaluator)
    • Method Detail

      • evaluate

        public V evaluate​(T object)
                   throws java.lang.InterruptedException,
                          org.api4.java.common.attributedobjects.ObjectEvaluationFailedException
        Specified by:
        evaluate in interface org.api4.java.common.attributedobjects.IObjectEvaluator<T,​V extends java.lang.Comparable<V>>
        Throws:
        java.lang.InterruptedException
        org.api4.java.common.attributedobjects.ObjectEvaluationFailedException
      • hasEvaluationForComponentInstance

        public boolean hasEvaluationForComponentInstance​(T inst)
      • getEvaluationTimeForComponentInstance

        public int getEvaluationTimeForComponentInstance​(T inst)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getLoggerName

        public java.lang.String getLoggerName()
        Specified by:
        getLoggerName in interface org.api4.java.common.control.ILoggingCustomizable
      • setLoggerName

        public void setLoggerName​(java.lang.String name)
        Specified by:
        setLoggerName in interface org.api4.java.common.control.ILoggingCustomizable