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 java.lang.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(java.lang.Integer nodeId, org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation op)
java.util.List<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation>
dequeueOperationsForNode(java.lang.Integer nodeId)
boolean
enqueOperation(java.lang.Integer nodeId, org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation op)
void
enqueOperations(java.lang.Integer nodeId, java.util.Collection<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation> ops)
java.util.List<SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener>
getListeners()
java.util.concurrent.LinkedBlockingQueue<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation>
getOperationQueueForNode(java.lang.Integer nodeId)
void
removeListener(SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener listener)
-
-
-
Method Detail
-
enqueOperation
public boolean enqueOperation(java.lang.Integer nodeId, org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation op)
-
enqueOperations
public void enqueOperations(java.lang.Integer nodeId, java.util.Collection<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation> ops)
-
dequeueOperationsForNode
public java.util.List<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation> dequeueOperationsForNode(java.lang.Integer nodeId)
-
dequeueOperationForNode
public boolean dequeueOperationForNode(java.lang.Integer nodeId, org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation op)
-
getOperationQueueForNode
public java.util.concurrent.LinkedBlockingQueue<org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter.AdapterOperation> getOperationQueueForNode(java.lang.Integer nodeId)
-
addListener
public void addListener(SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener listener)
-
removeListener
public void removeListener(SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener listener)
-
getListeners
public java.util.List<SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener> getListeners()
-
-