Package org.jppf.client.balancer
Class ChannelWrapperRemoteAsync
java.lang.Object
org.jppf.client.balancer.ChannelWrapper
org.jppf.client.balancer.AbstractChannelWrapperRemote
org.jppf.client.balancer.ChannelWrapperRemoteAsync
- All Implemented Interfaces:
AutoCloseable,ClientConnectionStatusHandler,org.jppf.execute.ExecutorChannel<ClientTaskBundle>
Context associated with a remote channel serving state and tasks submission.
- Author:
- Martin JANDA, Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.client.balancer.AbstractChannelWrapperRemote
uuidFields inherited from class org.jppf.client.balancer.ChannelWrapper
oldStatus -
Constructor Summary
ConstructorsConstructorDescriptionDefault initializer for remote channel wrapper. -
Method Summary
Methods inherited from class org.jppf.client.balancer.AbstractChannelWrapperRemote
addClientConnectionStatusListener, cancel, getChannel, getConnectionUuid, getStatus, getUuid, removeClientConnectionStatusListener, setStatus, setSystemInformationMethods inherited from class org.jppf.client.balancer.ChannelWrapper
addExecutionStatusListener, checkBundler, fireExecutionStatusChanged, getBundler, getCurrentNbJobs, getExecutionStatus, getManagementInfo, getMonitor, getOldStatus, getPriority, getSystemInformation, isActive, isResetting, removeExecutionStatusListener, setManagementInfo, setOldStatus, setResetting
-
Constructor Details
-
ChannelWrapperRemoteAsync
Default initializer for remote channel wrapper.- Parameters:
channel- to the driver to use.
-
-
Method Details
-
initChannelID
public void initChannelID()Description copied from class:ChannelWrapperInit the channel id for load-balancer persistence.- Overrides:
initChannelIDin classAbstractChannelWrapperRemote
-
submit
-
isLocal
public boolean isLocal()- Specified by:
isLocalin interfaceorg.jppf.execute.ExecutorChannel<ClientTaskBundle>- Overrides:
isLocalin classAbstractChannelWrapperRemote
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classChannelWrapper
-
isAsynchronous
public boolean isAsynchronous() -
getMaxJobs
public int getMaxJobs() -
toString
- Overrides:
toStringin classAbstractChannelWrapperRemote
-