Class TomcatNode
Object
com.liferay.portal.test.cluster.tomcat.TomcatNode
- Author:
- Shuyang Zhou
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceTomcatNode.ClusterExecutable<V extends Serializable> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTomcatNode(Class<?> clusterOwnerClass, String catalineHome, int connectorPort, List<String> copyPropertyKeys, String[] elasticSearchNetworkHostAddresses, int gogoShellPort, boolean jpdaEnabled, int jpdaPort, String jvmArgs, String liferayHome, int nodeId, int shutdownPort) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()<V extends Serializable>
com.liferay.petra.concurrent.NoticeableFuture<V>execute(TomcatNode.ClusterExecutable<V> clusterExecutable) intcom.liferay.petra.process.ProcessChannel<String>start(boolean loadHomePage) voidstop()<V extends Serializable>
VsyncExecute(TomcatNode.ClusterExecutable<V> clusterExecutable) toString()void
-
Constructor Details
-
TomcatNode
protected TomcatNode(Class<?> clusterOwnerClass, String catalineHome, int connectorPort, List<String> copyPropertyKeys, String[] elasticSearchNetworkHostAddresses, int gogoShellPort, boolean jpdaEnabled, int jpdaPort, String jvmArgs, String liferayHome, int nodeId, int shutdownPort) throws IOException - Throws:
IOException
-
-
Method Details
-
destroy
- Throws:
IOException
-
execute
public <V extends Serializable> com.liferay.petra.concurrent.NoticeableFuture<V> execute(TomcatNode.ClusterExecutable<V> clusterExecutable) -
getLiferayHome
-
getNodeId
public int getNodeId() -
getPortalExtPropertiesPath
-
start
public com.liferay.petra.process.ProcessChannel<String> start(boolean loadHomePage) throws Exception - Throws:
Exception
-
stop
- Throws:
Exception
-
syncExecute
public <V extends Serializable> V syncExecute(TomcatNode.ClusterExecutable<V> clusterExecutable) throws Exception - Throws:
Exception
-
toString
-
wait
- Throws:
Exception
-