public class SubChannelImpl extends ChannelImpl implements ISubChannel
ChannelImpl.RegistrationTypescapacity, channelConfigurationModifyListener, channelId, channelManagerIndex, channelManagerList, channelManagerListLock, channelManagerListReadLock, channelManagerListWriteLock, channelServiceIndex, channelServiceList, channelServiceListLock, channelServiceListReadLock, channelServiceListWriteLock, channelSignalList, configurationPropertyBlock, controllerListCopy, currentSpooledQueueWorker, disposed, dummyPublishMessageResult, firedEventListUpdate, genericChannelSpoolLock, lastWorkerAction, messageDispatcher, messageQueue, name, newPublishedMessageQueue, newScheduledListUpdate, onChannelAttachList, onQueueAttachListUpdate, parent, privateWorker, PROPERTY_KEY_TASK_ID, PROPERTY_KEY_THROWED_EXCEPTION, PROPERTY_PERIODIC_REPETITION_INTERVAL, queueScopeListWriteLock, queueWorker, registrationTypes, removedEventListUpdate, removedMessageQueue, serviceListCopy, sharedMessageLock, signalListUpdate, snapshotsByWorkerThread, statePropertyBlock, subChannelIndex, subChannelList, subChannelListCopy, subChannelListLock, subChannelListReadLock, taskIndex, taskList, taskListLock, taskListReadLock, taskListWriteLock, workerSpoolLock| Modifier | Constructor and Description |
|---|---|
protected |
SubChannelImpl(UUID scopeId,
UUID parentScopeId,
ChannelImpl parent,
String scopeName,
boolean adoptContoller,
boolean adoptServices,
Map<String,Object> configurationProperties,
Map<String,Object> stateProperties) |
| Modifier and Type | Method and Description |
|---|---|
ISubChannel<?> |
createScope(String scopeName,
Map<String,Object> configurationProperties,
Map<String,Object> stateProperties) |
void |
dispose()
dispose this scope and remove it from global scope
|
String |
getChannelName()
getter for scope name
|
List<ISubChannel> |
getChildScopes()
getter for child scope list.
|
ISubChannel |
getParentChannel()
getter for parent scope, if exists.
|
protected UUID |
getParentScopeId() |
IChannel |
getRootChannel()
returns root scope
|
UUID |
getScopeId()
getter for scope id.
|
boolean |
isAdoptContoller() |
boolean |
isAdoptServices() |
protected void |
unlinkFromParent() |
addOnChannelAttach, checkForChannelManager, checkForService, checkFreeWorker, checkTimeOut, checkWorkerShutdown, cleanDoneTasks, closeWorkerSnapshots, createChildScope, getChildScope, getChildSessionScopes, getConfigurationPropertyBlock, getControllerContainerList, getCurrentRunningTask, getDispatcher, getDueTasks, getEventDispatcher, getEventListLimit, getId, getLastWorkerAction, getManagerSize, getMessage, getMessageEventLock, getMessageSnapshot, getMessageSnapshotPoll, getName, getNewScheduledEventsSnaphot, getNextRun, getOnQueueAttachList, getQueueConfigurationModifyListener, getRemovedEventsSnapshot, getServiceList, getServiceSize, getSignalsSnapshot, getStatePropertyBlock, getTask, getTaskPropertyBlock, notifyOrCreateWorker, recalcRegistrationTypes, removeMessage, removeMessage, removeMessageList, removeTask, rescheduleTask, scheduleTask, scheduleTask, scheduleTask, scheduleTask, setEventListLimit, setManager, setName, setQueueConfigurationModifyListener, setService, signal, stopQueueWorker, storeMessage, storeMessageWithResult, touchLastWorkerAction, unsetChannelManager, unsetServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSubChannelcreateChildScope, createChildScope, getAdapter, getAdapter, getChildScope, getConfigurationPropertyBlock, getDispatcher, getId, getMessage, getMessageSnapshot, getMessageSnapshotPoll, getStatePropertyBlock, getTask, getTaskPropertyBlock, removeAdapter, removeMessage, removeMessageList, removeTask, rescheduleTask, scheduleTask, scheduleTask, scheduleTask, scheduleTask, setAdapter, signal, storeMessage, storeMessage, storeMessageWithResult, storeMessageWithResultpublic IChannel getRootChannel()
IChannelgetRootChannel in interface IChannelgetRootChannel in class ChannelImplpublic UUID getScopeId()
ISubChannelgetScopeId in interface ISubChannelprotected UUID getParentScopeId()
protected void unlinkFromParent()
public ISubChannel getParentChannel()
ISubChannelgetParentChannel in interface ISubChannelpublic List<ISubChannel> getChildScopes()
IChannelgetChildScopes in interface IChannelgetChildScopes in class ChannelImplpublic String getChannelName()
ISubChannelgetChannelName in interface ISubChannelpublic boolean isAdoptContoller()
public boolean isAdoptServices()
public void dispose()
ISubChanneldispose in interface ISubChanneldispose in class ChannelImplCopyright © 2020. All rights reserved.