|
Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions 11g Release 1 (11.1.1) E17787-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationInterface
Implemented by the main class of an Inline Service.
Method Summary | |
---|---|
void |
cleanUp() |
void |
deleteChoiceHistory() |
void |
deleteStatistics() |
boolean |
deleteStudy() Deletes the study of the Inline Service containing the calling BatchJob, together with all its contained learning models and associated prediction models. |
boolean |
determineCG() |
int |
dumpStudy(boolean rewriteCompletedTimeWindows) Creates a snapshot of the study that is owned by the Inline Service containing the calling BatchJob. |
int |
dumpStudy(boolean rewriteCompletedTimeWindows, float minAbsCorrelation, int numberOfBins) Creates a snapshot of the study that is owned by the Inline Service containing the calling BatchJob. |
void |
flushStatistics() |
void |
forceLearning() Updates the in-memory learning models of all studies to include the latest available learnings, and persists the updated learning models to the database. |
com.sigmadynamics.batch.BatchAgent |
getBatchAgent() |
ChoiceGroupInterface |
getChoiceGroup(java.lang.String groupId) |
int |
getDataVersion() |
ChoiceArrayInterface |
getDefaultChoices() |
int |
getDeploymentState() |
int |
getDeploymentVersion() |
Metadata |
getMetadata() |
java.lang.String |
getName() Gets the application name. |
int |
getSessionCount() |
java.lang.String |
getStudyName() Get the application's study name. |
void |
init() |
boolean |
isStoppedOrShuttingDown() |
void |
rebuildPredictionModels() Rebuilds prediction models for all studies, so they include all recent learnings. |
Methods inherited from interface com.sigmadynamics.sdo.interfaces.client.SDOInterface |
---|
getDescription, getSDOId, getSDOLabel, getSDOLabelOrId |
Method Detail |
---|
java.lang.String getName()
java.lang.String getStudyName()
void rebuildPredictionModels()
This method asks the Learning Service to do the following sequence of activities, and returns after the sequence has finished.
void forceLearning()
boolean deleteStudy()
int dumpStudy(boolean rewriteCompletedTimeWindows)
Because this operation could take a long time to execute, the recommended practice is to call it directly from a batch job, or from an Integration Point that was invoked by a batch job. Calling it from an Integration Point that was invoked by a Decision Service web service client would likely cause the web service call to timeout.
This call uses the default tuning attributes, meaning it behaves the same as calling
int dumpStudy(boolean rewriteCompletedTimeWindows, double minAbsCorrelation, int numberOfBins);
with the minAbsCorrelation and numberOfBins parameters set to the values seen in the JMX MBean attributes, ModelSnapshotMinAbsCorrelation (default=.000001) and ModelSnapshotNumberOfBins (default=5), respectively. Refer to the RTD installation guide for information about accessing these MBean attributes.
rewriteCompletedTimeWindows
- If true, the snapshot data for completed time windows will be deleted and recreated, even though their contents should not have changed.int dumpStudy(boolean rewriteCompletedTimeWindows, float minAbsCorrelation, int numberOfBins)
Because this operation could take a long time to execute, the recommended practice is to call it directly from a batch job, or from an Integration Point that was invoked by a batch job. Calling it from an Integration Point that was invoked by a Decision Service web service client would likely cause the web service call to timeout.
rewriteCompletedTimeWindows
- If true, the snapshot data for completed time windows will be deleted and recreated, even though their contents would not have changed.minAbsCorrelation
- Minimum allowed absolute correlation value permitted in model snapshots. Use 0 for all, but be prepared for a lot of data.numberOfBins
- A hint to the Learning Service for the preferred number of bins to use when writing numeric attribute values to a model snapshot.boolean isStoppedOrShuttingDown()
int getDeploymentVersion()
int getDataVersion()
void cleanUp()
void init()
ChoiceArrayInterface getDefaultChoices()
void flushStatistics()
Metadata getMetadata()
int getSessionCount()
boolean determineCG()
void deleteStatistics()
int getDeploymentState()
void deleteChoiceHistory()
ChoiceGroupInterface getChoiceGroup(java.lang.String groupId)
com.sigmadynamics.batch.BatchAgent getBatchAgent()
|
Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions 11g Release 1 (11.1.1) E17787-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |