public abstract class SimpleQueuedProvisioningAdapter2 extends Object implements ProvisioningAdapter
Modifier | Constructor and Description |
---|---|
protected |
SimpleQueuedProvisioningAdapter2()
Constructor for SimpleQueuedProvisioningAdapter2.
|
protected |
SimpleQueuedProvisioningAdapter2(PausibleScheduledThreadPoolExecutor executorService)
Constructor for SimpleQueuedProvisioningAdapter2.
|
Modifier and Type | Method and Description |
---|---|
ScheduledFuture<?> |
addNode(int nodeId)
This method is called by the Provisioner when a new node is provisioned.
|
ScheduledFuture<?> |
deleteNode(int nodeId)
This method is called by the Provisioner when a node is deleted through provisioning.
|
PausibleScheduledThreadPoolExecutor |
getExecutorService()
getExecutorService
|
abstract String |
getName()
getName
|
abstract boolean |
isNodeReady(int nodeId)
This method is called when the scheduled
Adapters extending this class must implement this method
|
ScheduledFuture<?> |
nodeConfigChanged(int nodeId)
This method is called when a configuration change event has occurred from any source.
|
abstract void |
processPendingOperationForNode(org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter2.AdapterOperation op)
processPendingOperationForNode
|
ScheduledFuture<?> |
updateNode(int nodeId)
This method is called by the Provisioner when a node is updated through provisioning.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
protected SimpleQueuedProvisioningAdapter2(PausibleScheduledThreadPoolExecutor executorService)
Constructor for SimpleQueuedProvisioningAdapter2.
executorService
- a PausibleScheduledThreadPoolExecutor
object.protected SimpleQueuedProvisioningAdapter2()
Constructor for SimpleQueuedProvisioningAdapter2.
public abstract String getName()
getName
getName
in interface ProvisioningAdapter
String
object.public abstract boolean isNodeReady(int nodeId)
nodeId
- a int.public abstract void processPendingOperationForNode(org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter2.AdapterOperation op) throws ProvisioningAdapterException
processPendingOperationForNode
op
- a SimpleQueuedProvisioningAdapter2.AdapterOperation
object.ProvisioningAdapterException
- if any.public final ScheduledFuture<?> addNode(int nodeId)
addNode
in interface ProvisioningAdapter
nodeId
- a int.public final ScheduledFuture<?> updateNode(int nodeId)
updateNode
in interface ProvisioningAdapter
nodeId
- a int.public final ScheduledFuture<?> deleteNode(int nodeId)
deleteNode
in interface ProvisioningAdapter
nodeId
- a int.public final ScheduledFuture<?> nodeConfigChanged(int nodeId)
nodeConfigChanged
in interface ProvisioningAdapter
nodeId
- a int.public PausibleScheduledThreadPoolExecutor getExecutorService()
getExecutorService
PausibleScheduledThreadPoolExecutor
object.Copyright © 2021. All rights reserved.