Package org.apache.wayang.java.platform
Class JavaPlatform
java.lang.Object
org.apache.wayang.core.platform.Platform
org.apache.wayang.java.platform.JavaPlatform
-
Field Summary
Fields inherited from class org.apache.wayang.core.platform.Platform
jsonSerializer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureDefaults
(Configuration configuration) Configure default settings for this instance, e.g., to be able to createLoadProfileToTimeConverter
s.createLoadProfileToTimeConverter
(Configuration configuration) createTimeToCostConverter
(Configuration configuration) Creates aTimeToCostConverter
for this instance.static JavaPlatform
Methods inherited from class org.apache.wayang.core.platform.Platform
createExecutor, getConfigurationName, getInitializeMillis, getName, isSinglePlatformExecutionPossible, load, toString, warmUp
-
Method Details
-
getInstance
-
configureDefaults
Description copied from class:Platform
Configure default settings for this instance, e.g., to be able to createLoadProfileToTimeConverter
s.- Specified by:
configureDefaults
in classPlatform
- Parameters:
configuration
- that should be configured
-
getExecutorFactory
- Specified by:
getExecutorFactory
in classPlatform
-
createLoadProfileToTimeConverter
- Specified by:
createLoadProfileToTimeConverter
in classPlatform
- Returns:
- a default
LoadProfileToTimeConverter
-
createTimeToCostConverter
Description copied from class:Platform
Creates aTimeToCostConverter
for this instance.- Specified by:
createTimeToCostConverter
in classPlatform
- Parameters:
configuration
- configures theTimeToCostConverter
- Returns:
- the
TimeToCostConverter
-