Class RedisDao
- java.lang.Object
-
- jenkins.plugins.logstash.persistence.AbstractLogstashIndexerDao
-
- jenkins.plugins.logstash.persistence.HostBasedLogstashIndexerDao
-
- jenkins.plugins.logstash.persistence.RedisDao
-
- All Implemented Interfaces:
Serializable
,LogstashIndexerDao
public class RedisDao extends HostBasedLogstashIndexerDao
Redis Data Access Object.- Since:
- 1.0.0
- Author:
- Rusty Gerard
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jenkins.plugins.logstash.persistence.LogstashIndexerDao
LogstashIndexerDao.IndexerType, LogstashIndexerDao.SyslogFormat, LogstashIndexerDao.SyslogProtocol
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
String
getPassword()
void
push(String data)
Sends the log data to the Logstash indexer.-
Methods inherited from class jenkins.plugins.logstash.persistence.HostBasedLogstashIndexerDao
getDescription, getHost, getPort
-
Methods inherited from class jenkins.plugins.logstash.persistence.AbstractLogstashIndexerDao
buildPayload
-
-
-
-
Method Detail
-
getPassword
public String getPassword()
-
getKey
public String getKey()
-
push
public void push(String data) throws IOException
Description copied from interface:LogstashIndexerDao
Sends the log data to the Logstash indexer.- Parameters:
data
- The serialized data, not null- Throws:
IOException
- The data is not written to the server
-
-