com.tc.lcp
Class LinkedJavaProcessStarter
java.lang.Object
com.tc.lcp.LinkedJavaProcessStarter
public class LinkedJavaProcessStarter
- extends java.lang.Object
Runs another main class, with full arguments, but first establishes a socket
heartbeat protocol with a parent process on a specified port — and
kills itself if this ping protocol is broken. This prevents runaway Java
processes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkedJavaProcessStarter
public LinkedJavaProcessStarter()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMaxRuntime
public static long getMaxRuntime()
scheduleShutdownTimer
public static void scheduleShutdownTimer()
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.