public class ServiceActivatorSet
extends java.util.concurrent.locks.ReentrantLock
Modifier and Type | Class and Description |
---|---|
static class |
ServiceActivatorSet.ServiceActivatorHolder |
Constructor and Description |
---|
ServiceActivatorSet(ServiceActivatorSet.ServiceActivatorHolder[] serviceActivators) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
connect() |
boolean |
connectionClose(ServiceActivatorDeviceWorker device,
ServiceActivatorEvent event) |
boolean |
connectionModify(ServiceActivatorDeviceWorker device,
ServiceActivatorEvent event) |
void |
destroy() |
void |
disconnect() |
boolean |
isAlive() |
boolean |
onAccountingStart(ServiceActivatorDeviceWorker device,
ServiceActivatorEvent event) |
boolean |
onAccountingStop(ServiceActivatorDeviceWorker device,
ServiceActivatorEvent event) |
boolean |
serviceCancel(ServiceActivatorDeviceWorker device,
ServiceActivatorEvent event) |
boolean |
serviceCreate(ServiceActivatorDeviceWorker device,
ServiceActivatorEvent event) |
boolean |
serviceModify(ServiceActivatorDeviceWorker device,
ServiceActivatorEvent event) |
getHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock
public ServiceActivatorSet(ServiceActivatorSet.ServiceActivatorHolder[] serviceActivators)
public boolean isAlive()
public void destroy()
public java.lang.Object connect() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void disconnect() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public boolean connectionClose(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws java.lang.Exception
java.lang.Exception
public boolean connectionModify(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws java.lang.Exception
java.lang.Exception
public boolean onAccountingStart(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws java.lang.Exception
java.lang.Exception
public boolean onAccountingStop(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws java.lang.Exception
java.lang.Exception
public boolean serviceCancel(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws java.lang.Exception
java.lang.Exception
public boolean serviceCreate(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws java.lang.Exception
java.lang.Exception
public boolean serviceModify(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws java.lang.Exception
java.lang.Exception