|
Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions 11g Release 1 (11.1.1) E17787-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.sigmadynamics.sdo.support.SDOBase
com.sigmadynamics.sdo.support.SDApplicationBase
public abstract class SDApplicationBase
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 |
---|
protected final AppFactoryInterface appFactory
Method Detail |
---|
protected static LearningRecordWriterFactory getLearningRecordWriterFactory()
protected static BatchAgentKernel getBatchAgentKernel()
public java.lang.String getStudyName()
public boolean determineCG()
determineCG
in interface ApplicationInterface
protected boolean calculateControlGroupStatus(java.lang.String val, double percent)
protected boolean calculateControlGroupStatus(int val, double percent)
protected boolean calculateControlGroupStatus(long val, double percent)
protected boolean calculateControlGroupStatus(double val, double percent)
protected boolean checkControlGroupStatus(boolean val)
protected boolean checkControlGroupStatus(int val)
protected boolean checkControlGroupStatus(java.lang.String val)
public int getSessionCount()
getSessionCount
in interface ApplicationInterface
public boolean isStoppedOrShuttingDown()
isStoppedOrShuttingDown
in interface ApplicationInterface
public java.lang.String getName()
ApplicationInterface
getName
in interface ApplicationInterface
public int getDeploymentVersion()
getDeploymentVersion
in interface ApplicationInterface
public int getDeploymentState()
getDeploymentState
in interface ApplicationInterface
public Metadata getMetadata()
getMetadata
in interface ApplicationInterface
public static long currentTimeMillis()
public int getDataVersion()
getDataVersion
in interface ApplicationInterface
public ChoiceGroupInterface getChoiceGroup(java.lang.String groupId)
getChoiceGroup
in interface ApplicationInterface
SDChoiceGroup.findChoiceGroup(String)
public com.sigmadynamics.batch.BatchAgent getBatchAgent()
getBatchAgent
in interface ApplicationInterface
protected PredictorInterface newPredictor(SDModelArray models, Path[] attributePaths, java.lang.String[] attributes)
protected RuleCache newRuleCache(java.lang.ClassLoader parent)
protected RuleEvaluator newRuleEvaluator(ApplicationInterface app)
|
Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions 11g Release 1 (11.1.1) E17787-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |