Liferay 7.0-ce-b4

com.liferay.portal.fabric.netty.agent
Class NettyFabricAgentStub

java.lang.Object
  extended by com.liferay.portal.fabric.netty.agent.NettyFabricAgentStub
All Implemented Interfaces:
FabricAgent, ProcessExecutor

public class NettyFabricAgentStub
extends Object
implements FabricAgent


Constructor Summary
NettyFabricAgentStub(io.netty.channel.Channel channel, Repository<io.netty.channel.Channel> repository, java.nio.file.Path remoteRepositoryPath, long rpcRelayTimeout, long startupTimeout)
           
 
Method Summary
 boolean equals(Object obj)
           
<T extends Serializable>
FabricWorker<T>
execute(ProcessConfig processConfig, ProcessCallable<T> processCallable)
           
 void finishStartup(long id)
           
 FabricStatus getFabricStatus()
           
 Collection<? extends FabricWorker<?>> getFabricWorkers()
           
 int hashCode()
           
 NettyFabricWorkerStub<?> takeNettyStubFabricWorker(long id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NettyFabricAgentStub

public NettyFabricAgentStub(io.netty.channel.Channel channel,
                            Repository<io.netty.channel.Channel> repository,
                            java.nio.file.Path remoteRepositoryPath,
                            long rpcRelayTimeout,
                            long startupTimeout)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

execute

public <T extends Serializable> FabricWorker<T> execute(ProcessConfig processConfig,
                                                        ProcessCallable<T> processCallable)
Specified by:
execute in interface FabricAgent
Specified by:
execute in interface ProcessExecutor

finishStartup

public void finishStartup(long id)

getFabricStatus

public FabricStatus getFabricStatus()
Specified by:
getFabricStatus in interface FabricAgent

getFabricWorkers

public Collection<? extends FabricWorker<?>> getFabricWorkers()
Specified by:
getFabricWorkers in interface FabricAgent

hashCode

public int hashCode()
Overrides:
hashCode in class Object

takeNettyStubFabricWorker

public NettyFabricWorkerStub<?> takeNettyStubFabricWorker(long id)

Liferay 7.0-ce-b4