org.gcube.vremanagement.resourcemanager.impl.operators
Class Operator
java.lang.Object
org.gcube.vremanagement.resourcemanager.impl.operators.Operator
- Direct Known Subclasses:
- AddResourcesOperator, DeploySoftwareOperator, RemoveResourcesOperator, ScopedResourceManagerOperator
public abstract class Operator
- extends Object
Base class for manager's operators
.
A manage operator is devoted to execute certain assigned tasks.
The exec() method is asynchronously called
- Author:
- Manuele Simi (ISTI-CNR)
|
Method Summary |
abstract void |
exec()
Executes the operator's tasks |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.gcube.common.core.utils.logging.GCUBELog logger
action
protected Operator.ACTION action
configuration
protected OperatorConfig configuration
scopeState
protected ScopeState scopeState
Operator
public Operator()
run
public final void run()
exec
public abstract void exec()
throws Exception
- Executes the operator's tasks
- Throws:
Exception - if any of the tasks fails
Copyright © 2012. All Rights Reserved.