Package org.opennms.netmgt.provision
Class SimpleQueuedProvisioningAdapter.AdapterOperationQueue
- java.lang.Object
-
- org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperationQueue
-
- Enclosing class:
- SimpleQueuedProvisioningAdapter
public static class SimpleQueuedProvisioningAdapter.AdapterOperationQueue extends Object
-
-
Constructor Summary
Constructors Constructor Description AdapterOperationQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener listener)
boolean
dequeueOperationForNode(Integer nodeId, org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation op)
List<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation>
dequeueOperationsForNode(Integer nodeId)
boolean
enqueOperation(Integer nodeId, org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation op)
void
enqueOperations(Integer nodeId, Collection<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation> ops)
List<SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener>
getListeners()
LinkedBlockingQueue<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation>
getOperationQueueForNode(Integer nodeId)
void
removeListener(SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener listener)
-
-
-
Method Detail
-
enqueOperation
public boolean enqueOperation(Integer nodeId, org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation op)
-
enqueOperations
public void enqueOperations(Integer nodeId, Collection<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation> ops)
-
dequeueOperationsForNode
public List<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation> dequeueOperationsForNode(Integer nodeId)
-
dequeueOperationForNode
public boolean dequeueOperationForNode(Integer nodeId, org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation op)
-
getOperationQueueForNode
public LinkedBlockingQueue<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation> getOperationQueueForNode(Integer nodeId)
-
addListener
public void addListener(SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener listener)
-
removeListener
public void removeListener(SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener listener)
-
getListeners
public List<SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener> getListeners()
-
-