public class LogstashOutputStream
extends hudson.console.PlainTextConsoleOutputStream
| Modifier and Type | Field and Description |
|---|---|
protected LogstashBuildWrapper.BuildBlock |
bBlock |
protected boolean |
connFailed |
protected OutputStream |
delegate |
protected redis.clients.jedis.Jedis |
jedis |
protected LogstashBuildWrapper.RedisBlock |
rBlock |
| Constructor and Description |
|---|
LogstashOutputStream(OutputStream d) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
connect() |
protected void |
eol(byte[] b,
int len) |
void |
flush() |
protected net.sf.json.JSONObject |
makeJson(String line) |
forceEol, trimEOL, write, writewriteprotected OutputStream delegate
protected boolean connFailed
protected redis.clients.jedis.Jedis jedis
protected LogstashBuildWrapper.RedisBlock rBlock
protected LogstashBuildWrapper.BuildBlock bBlock
public LogstashOutputStream(OutputStream d)
public boolean connect()
protected void eol(byte[] b,
int len)
throws IOException
eol in class hudson.console.PlainTextConsoleOutputStreamIOExceptionprotected net.sf.json.JSONObject makeJson(String line)
public void flush()
throws IOException
flush in interface Flushableflush in class hudson.console.PlainTextConsoleOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class hudson.console.PlainTextConsoleOutputStreamIOExceptionCopyright © 2004-2013. All Rights Reserved.