Skip navigation links

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

E17787-02


com.sigmadynamics.sdo.interfaces
Interface ApplicationInterface

All Superinterfaces:
SDOInterface
All Known Implementing Classes:
ApplicationBase, SDApplicationBase

public interface ApplicationInterface
extends SDOInterface

Implemented by the main class of an Inline Service.

Since:
1.0

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.
 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

getName

java.lang.String getName()
Gets the application name.
Returns:
application name

getStudyName

java.lang.String getStudyName()
Get the application's study name.
Since:
3.0

rebuildPredictionModels

void rebuildPredictionModels()
Rebuilds prediction models for all studies, so they include all recent learnings.

This method asks the Learning Service to do the following sequence of activities, and returns after the sequence has finished.

  1. Process all previously unprocessed learning records, by reading them from the database and updating the in-memory learning models to reflect the knowledge encapsulated by the learning records.
  2. Persist the newly updated learning models to the database, for all studies.
  3. Rebuild all prediction models for all studies.
  4. Persist the new prediction models to the database.
  5. Wait for the new prediction models to be loaded into memory, where they will be available for making predictions.
Since:
11.1.1.5.0

forceLearning

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.
Since:
11.1.1.5.0

deleteStudy

boolean deleteStudy()
Deletes the study of the Inline Service containing the calling BatchJob, together with all its contained learning models and associated prediction models.
Since:
11.1.1.5.0

dumpStudy

int dumpStudy(boolean rewriteCompletedTimeWindows)
Creates a snapshot of the study that is owned by the Inline Service containing the calling BatchJob.
Parameters:
rewriteCompletedTimeWindows -
Since:
11.1.1.5.0

isStoppedOrShuttingDown

boolean isStoppedOrShuttingDown()
Returns:
true if the app is stopped or in the process of shutting down

getDeploymentVersion

int getDeploymentVersion()

getDataVersion

int getDataVersion()

cleanUp

void cleanUp()

init

void init()

getDefaultChoices

ChoiceArrayInterface getDefaultChoices()

flushStatistics

void flushStatistics()

getMetadata

Metadata getMetadata()

getSessionCount

int getSessionCount()

determineCG

boolean determineCG()

deleteStatistics

void deleteStatistics()

getDeploymentState

int getDeploymentState()

deleteChoiceHistory

void deleteChoiceHistory()

getChoiceGroup

ChoiceGroupInterface getChoiceGroup(java.lang.String groupId)

getBatchAgent

com.sigmadynamics.batch.BatchAgent getBatchAgent()
Since:
3.0

Skip navigation links

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

E17787-02


Copyright © 2010, 2011, Oracle. All rights reserved.