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, waitinitprotected SimpleQueuedProvisioningAdapter2(PausibleScheduledThreadPoolExecutor executorService)
Constructor for SimpleQueuedProvisioningAdapter2.
executorService - a PausibleScheduledThreadPoolExecutor object.protected SimpleQueuedProvisioningAdapter2()
Constructor for SimpleQueuedProvisioningAdapter2.
public abstract String getName()
getName
getName in interface ProvisioningAdapterString 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 ProvisioningAdapternodeId - a int.public final ScheduledFuture<?> updateNode(int nodeId)
updateNode in interface ProvisioningAdapternodeId - a int.public final ScheduledFuture<?> deleteNode(int nodeId)
deleteNode in interface ProvisioningAdapternodeId - a int.public final ScheduledFuture<?> nodeConfigChanged(int nodeId)
nodeConfigChanged in interface ProvisioningAdapternodeId - a int.public PausibleScheduledThreadPoolExecutor getExecutorService()
getExecutorService
PausibleScheduledThreadPoolExecutor object.Copyright © 2022. All rights reserved.