Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-01


com.sigmadynamics.sdo.support
Class SDApplicationBase

java.lang.Object
  extended by com.sigmadynamics.sdo.support.SDOBase
      extended by com.sigmadynamics.sdo.support.SDApplicationBase

All Implemented Interfaces:
ApplicationInterface, SDOInterface
Direct Known Subclasses:
ApplicationBase

public abstract class SDApplicationBase
extends SDOBase
implements ApplicationInterface

Abstract base class for the Application class in generated code, the most important class of an Inline Service. An Inline Service's lifecycle is managed through this class. The Application (bottommost subclass of SDApplicationBase) serves as the main gateway between the RTD Deciision Server and an Inline Service.


Field Summary
protected  AppFactoryInterface appFactory
           

 

Fields inherited from class com.sigmadynamics.sdo.support.SDOBase
description, internalName, sdExternalName

 

Method Summary
protected  boolean calculateControlGroupStatus(double val, double percent)
           
protected  boolean calculateControlGroupStatus(int val, double percent)
           
protected  boolean calculateControlGroupStatus(long val, double percent)
           
protected  boolean calculateControlGroupStatus(java.lang.String val, double percent)
           
protected  boolean checkControlGroupStatus(boolean val)
           
protected  boolean checkControlGroupStatus(int val)
           
protected  boolean checkControlGroupStatus(java.lang.String val)
           
static long currentTimeMillis()
          Overrideable method used to aid in simulation of time
 boolean determineCG()
           
 com.sigmadynamics.batch.BatchAgent getBatchAgent()
           
protected static BatchAgentKernel getBatchAgentKernel()
          overrideable
 ChoiceGroupInterface getChoiceGroup(java.lang.String groupId)
          
 int getDataVersion()
           
 int getDeploymentState()
           
 int getDeploymentVersion()
           
protected static LearningRecordWriterFactory getLearningRecordWriterFactory()
          overrideable
 Metadata getMetadata()
           
 java.lang.String getName()
          Gets the application name.
 int getSessionCount()
           
 java.lang.String getStudyName()
           
 boolean isStoppedOrShuttingDown()
           
protected  PredictorInterface newPredictor(SDModelArray models, Path[] attributePaths, java.lang.String[] attributes)
          Overrideable
protected  RuleCache newRuleCache(java.lang.ClassLoader parent)
          Overrideable RuleCache factory
protected  RuleEvaluator newRuleEvaluator(ApplicationInterface app)
          Overrideable RuleEvaluator factory

 

Methods inherited from class com.sigmadynamics.sdo.support.SDOBase
getDescription, getSDOId, getSDOLabel, getSDOLabelOrId, setDescription, setSDOId, setSDOLabel

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface com.sigmadynamics.sdo.interfaces.ApplicationInterface
cleanUp, deleteChoiceHistory, deleteStatistics, flushStatistics, getDefaultChoices, init

 

Methods inherited from interface com.sigmadynamics.sdo.interfaces.client.SDOInterface
getDescription, getSDOId, getSDOLabel, getSDOLabelOrId

 

Field Detail

appFactory

protected final AppFactoryInterface appFactory

Method Detail

getLearningRecordWriterFactory

protected static LearningRecordWriterFactory getLearningRecordWriterFactory()
overrideable
Since:
3.0

getBatchAgentKernel

protected static BatchAgentKernel getBatchAgentKernel()
overrideable
Since:
3.0

getStudyName

public java.lang.String getStudyName()
Since:
3.0

determineCG

public boolean determineCG()
Specified by:
determineCG in interface ApplicationInterface

calculateControlGroupStatus

protected boolean calculateControlGroupStatus(java.lang.String val,
                                              double percent)

calculateControlGroupStatus

protected boolean calculateControlGroupStatus(int val,
                                              double percent)

calculateControlGroupStatus

protected boolean calculateControlGroupStatus(long val,
                                              double percent)

calculateControlGroupStatus

protected boolean calculateControlGroupStatus(double val,
                                              double percent)

checkControlGroupStatus

protected boolean checkControlGroupStatus(boolean val)

checkControlGroupStatus

protected boolean checkControlGroupStatus(int val)

checkControlGroupStatus

protected boolean checkControlGroupStatus(java.lang.String val)

getSessionCount

public int getSessionCount()
Specified by:
getSessionCount in interface ApplicationInterface

isStoppedOrShuttingDown

public boolean isStoppedOrShuttingDown()
Specified by:
isStoppedOrShuttingDown in interface ApplicationInterface
Returns:
true if the app is stopped or in the process of shutting down

getName

public java.lang.String getName()
Description copied from interface: ApplicationInterface
Gets the application name.
Specified by:
getName in interface ApplicationInterface
Returns:
application name

getDeploymentVersion

public int getDeploymentVersion()
Specified by:
getDeploymentVersion in interface ApplicationInterface

getDeploymentState

public int getDeploymentState()
Specified by:
getDeploymentState in interface ApplicationInterface

getMetadata

public Metadata getMetadata()
Specified by:
getMetadata in interface ApplicationInterface

currentTimeMillis

public static long currentTimeMillis()
Overrideable method used to aid in simulation of time
Since:
1.0

getDataVersion

public int getDataVersion()
Specified by:
getDataVersion in interface ApplicationInterface

getChoiceGroup

public ChoiceGroupInterface getChoiceGroup(java.lang.String groupId)
Specified by:
getChoiceGroup in interface ApplicationInterface
See Also:
SDChoiceGroup.findChoiceGroup(String)

getBatchAgent

public com.sigmadynamics.batch.BatchAgent getBatchAgent()
Specified by:
getBatchAgent in interface ApplicationInterface

newPredictor

protected PredictorInterface newPredictor(SDModelArray models,
                                          Path[] attributePaths,
                                          java.lang.String[] attributes)
Overrideable
Since:
3.0

newRuleCache

protected RuleCache newRuleCache(java.lang.ClassLoader parent)
Overrideable RuleCache factory
Since:
3.0

newRuleEvaluator

protected RuleEvaluator newRuleEvaluator(ApplicationInterface app)
Overrideable RuleEvaluator factory
Since:
3.0

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-01


Copyright © 2010, Oracle. All rights reserved.