Package jadex.platform.service.execution
Class BisimExecutionService
- java.lang.Object
- 
- jadex.bridge.service.BasicService
- 
- jadex.platform.service.execution.SyncExecutionService
- 
- jadex.platform.service.execution.BisimExecutionService
 
 
 
- 
- All Implemented Interfaces:
- IInternalService,- IService,- IExecutionService
 
 public class BisimExecutionService extends SyncExecutionService Helper class to allow bisimulation in same VM.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jadex.platform.service.execution.SyncExecutionServiceSyncExecutionService.State
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected static IFuture<java.lang.Void>initedThe inited flag of the service.protected static BisimExecutionServiceinstanceThe shared execution service.- 
Fields inherited from class jadex.platform.service.execution.SyncExecutionServiceexecutor, idlefuture, provider, queue, removedfut, removedtask, state, task
 - 
Fields inherited from class jadex.bridge.service.BasicServiceidcnt, impltype, internalaccess, providerid, shutdowned, sid, started, type
 - 
Fields inherited from interface jadex.bridge.service.IServiceEMPTY_SERVICES
 
- 
 - 
Constructor SummaryConstructors Constructor Description BisimExecutionService(IInternalAccess provider)Create a new synchronous executor service.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IExecutionServicegetInstance(IInternalAccess provider)Get the instance.protected IThreadPoolServicegetThreadPool()Thread pool template method to support replacment.IFuture<java.lang.Void>shutdownService()Shutdown the executor service.IFuture<java.lang.Void>startService()Start the executor service.- 
Methods inherited from class jadex.platform.service.execution.SyncExecutionServicecancel, customIsValid, execute, getNextIdleFuture, getRunningTasks
 - 
Methods inherited from class jadex.bridge.service.BasicServicecreateServiceIdentifier, createServiceIdentifier, equals, generateServiceName, getInterfaceType, getInternalAccess, getInvokeMethod, getMethodInfos, getMethodTimeout, getPropertyMap, getProviderId, getServiceId, hashCode, initNFProperties, invokeMethod, isValid, setComponentAccess, setPropertyMap, setServiceIdentifier, toString
 
- 
 
- 
- 
- 
Field Detail- 
instanceprotected static volatile BisimExecutionService instance The shared execution service.
 - 
initedprotected static IFuture<java.lang.Void> inited The inited flag of the service.
 
- 
 - 
Constructor Detail- 
BisimExecutionServicepublic BisimExecutionService(IInternalAccess provider) Create a new synchronous executor service.
 
- 
 - 
Method Detail- 
getInstancepublic static IExecutionService getInstance(IInternalAccess provider) Get the instance.
 - 
startServicepublic IFuture<java.lang.Void> startService() Description copied from class:SyncExecutionServiceStart the executor service. Resumes all tasks.- Specified by:
- startServicein interface- IInternalService
- Overrides:
- startServicein class- SyncExecutionService
- Returns:
- A future that is done when the service has completed starting.
 
 - 
shutdownServicepublic IFuture<java.lang.Void> shutdownService() Description copied from class:SyncExecutionServiceShutdown the executor service.- Specified by:
- shutdownServicein interface- IInternalService
- Overrides:
- shutdownServicein class- SyncExecutionService
- Returns:
- A future that is done when the service has completed its shutdown.
 
 - 
getThreadPoolprotected IThreadPoolService getThreadPool() Description copied from class:SyncExecutionServiceThread pool template method to support replacment.- Overrides:
- getThreadPoolin class- SyncExecutionService
 
 
- 
 
-