A C D E G H I K L M O P R S T W

A

addAllJvmArgs(List<String>) - Method in class com.tc.lcp.LinkedJavaProcess
 
addJvmArg(String) - Method in class com.tc.lcp.LinkedJavaProcess
 
addThread(HeartBeatServer.HeartBeatThread) - Method in class com.tc.lcp.HeartBeatServer
 
anyAppServerAlive() - Method in class com.tc.lcp.HeartBeatServer
 
anyAppServerAlive() - Static method in class com.tc.lcp.HeartBeatService
 

C

CargoLinkedChildProcess - Class in com.tc.lcp
This class serves three purposes.
com.tc.lcp - package com.tc.lcp
 

D

destroy() - Method in class com.tc.lcp.LinkedJavaProcess
 

E

exitValue() - Method in class com.tc.lcp.LinkedJavaProcess
 

G

getCommand() - Method in class com.tc.lcp.LinkedJavaProcess
 
getErrorStream() - Method in class com.tc.lcp.LinkedJavaProcess
This is the spawned process's stderr.
getInputStream() - Method in class com.tc.lcp.LinkedJavaProcess
Java names these things a bit funny — this is the spawned process's stdout.
getJavaHome() - Method in class com.tc.lcp.LinkedJavaProcess
 
getMaxRuntime() - Method in class com.tc.lcp.LinkedJavaProcess
 
getMaxRuntime() - Static method in class com.tc.lcp.LinkedJavaProcessStarter
 
getOutputStream() - Method in class com.tc.lcp.LinkedJavaProcess
Java names these things a bit funny — this is the spawned process's stdin.

H

HeartBeatClient - Class in com.tc.lcp
 
HeartBeatClient(int, String, boolean) - Constructor for class com.tc.lcp.HeartBeatClient
 
HeartBeatServer - Class in com.tc.lcp
 
HeartBeatServer() - Constructor for class com.tc.lcp.HeartBeatServer
 
HeartBeatService - Class in com.tc.lcp
 
HeartBeatService() - Constructor for class com.tc.lcp.HeartBeatService
 

I

IM_ALIVE - Static variable in class com.tc.lcp.HeartBeatServer
 
IS_APP_SERVER_ALIVE - Static variable in class com.tc.lcp.HeartBeatServer
 

K

KILL - Static variable in class com.tc.lcp.HeartBeatServer
 

L

LinkedJavaProcess - Class in com.tc.lcp
A child Java process that uses a socket-based ping protocol to make sure that if the parent dies, the child dies a short time thereafter.
LinkedJavaProcess(String, List<String>, List<String>) - Constructor for class com.tc.lcp.LinkedJavaProcess
 
LinkedJavaProcess(String) - Constructor for class com.tc.lcp.LinkedJavaProcess
 
LinkedJavaProcess(String, List<String>) - Constructor for class com.tc.lcp.LinkedJavaProcess
 
LinkedJavaProcessStarter - Class in com.tc.lcp
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.
LinkedJavaProcessStarter() - Constructor for class com.tc.lcp.LinkedJavaProcessStarter
 
listeningPort() - Method in class com.tc.lcp.HeartBeatServer
 
listenPort() - Static method in class com.tc.lcp.HeartBeatService
 
log(String) - Static method in class com.tc.lcp.HeartBeatClient
 
log(String) - Static method in class com.tc.lcp.HeartBeatServer
 

M

main(String[]) - Static method in class com.tc.lcp.CargoLinkedChildProcess
 
main(String[]) - Static method in class com.tc.lcp.LinkedJavaProcessStarter
 
mergeSTDERR() - Method in class com.tc.lcp.LinkedJavaProcess
 
mergeSTDERR(String) - Method in class com.tc.lcp.LinkedJavaProcess
 
mergeSTDOUT() - Method in class com.tc.lcp.LinkedJavaProcess
 
mergeSTDOUT(String) - Method in class com.tc.lcp.LinkedJavaProcess
 
MISS_ALLOW - Static variable in class com.tc.lcp.HeartBeatServer
 

O

out - Variable in class com.tc.lcp.StreamCopier
 

P

PULSE - Static variable in class com.tc.lcp.HeartBeatServer
 
PULSE_INTERVAL - Static variable in class com.tc.lcp.HeartBeatServer
 

R

reallySleep(long) - Static method in class com.tc.lcp.HeartBeatServer
 
registerForHeartBeat(int, String) - Static method in class com.tc.lcp.HeartBeatService
 
registerForHeartBeat(int, String, boolean) - Static method in class com.tc.lcp.HeartBeatService
 
removeDeadClient(HeartBeatServer.HeartBeatThread) - Method in class com.tc.lcp.HeartBeatServer
 
run() - Method in class com.tc.lcp.HeartBeatClient
 
run() - Method in class com.tc.lcp.StreamCopier
 

S

scheduleShutdownTimer() - Static method in class com.tc.lcp.LinkedJavaProcessStarter
 
sendKillSignalToChildren() - Method in class com.tc.lcp.HeartBeatServer
 
sendKillSignalToChildren() - Static method in class com.tc.lcp.HeartBeatService
 
setAddL1Repos(boolean) - Method in class com.tc.lcp.LinkedJavaProcess
 
setClasspath(String) - Method in class com.tc.lcp.LinkedJavaProcess
 
setDirectory(File) - Method in class com.tc.lcp.LinkedJavaProcess
 
setEnvironment(List<String>) - Method in class com.tc.lcp.LinkedJavaProcess
 
setJavaExecutable(File) - Method in class com.tc.lcp.LinkedJavaProcess
 
setJavaHome(File) - Method in class com.tc.lcp.LinkedJavaProcess
 
setMaxRuntime(long) - Method in class com.tc.lcp.LinkedJavaProcess
 
shutdown() - Method in class com.tc.lcp.HeartBeatServer
 
start() - Method in class com.tc.lcp.HeartBeatServer
 
start() - Method in class com.tc.lcp.LinkedJavaProcess
 
startHeartBeatService() - Static method in class com.tc.lcp.HeartBeatService
 
STDERR() - Method in class com.tc.lcp.LinkedJavaProcess
 
STDIN() - Method in class com.tc.lcp.LinkedJavaProcess
 
STDOUT() - Method in class com.tc.lcp.LinkedJavaProcess
 
stopHeartBeatServer() - Static method in class com.tc.lcp.HeartBeatService
 
StreamCollector - Class in com.tc.lcp
An object that reads a stream asynchronously and collects it into a data buffer.
StreamCollector(InputStream) - Constructor for class com.tc.lcp.StreamCollector
 
StreamCopier - Class in com.tc.lcp
A simple thread that copies one stream to another.
StreamCopier(InputStream, OutputStream) - Constructor for class com.tc.lcp.StreamCopier
 
StreamCopier(InputStream, OutputStream, String) - Constructor for class com.tc.lcp.StreamCopier
 

T

toString() - Method in class com.tc.lcp.StreamCollector
 

W

waitFor() - Method in class com.tc.lcp.LinkedJavaProcess
 

A C D E G H I K L M O P R S T W

Copyright © 2010 Terracotta, Inc.. All Rights Reserved.