Class SplunkDataWriter
java.lang.Object
org.apache.camel.component.splunk.support.SplunkDataWriter
- All Implemented Interfaces:
DataWriter
- Direct Known Subclasses:
StreamDataWriter,SubmitDataWriter,TcpDataWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.splunk.Argsprotected SplunkEndpointprotected final Lock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract SocketcreateSocket(com.splunk.Service service) protected voidbooleanvoidstart()voidstop()voidvoidwrite(SplunkEvent event)
-
Field Details
-
endpoint
-
args
protected com.splunk.Args args -
lock
-
-
Constructor Details
-
SplunkDataWriter
-
-
Method Details
-
createSocket
- Throws:
IOException
-
write
- Specified by:
writein interfaceDataWriter- Throws:
Exception
-
write
- Specified by:
writein interfaceDataWriter- Throws:
Exception
-
doWrite
- Throws:
IOException
-
start
public void start()- Specified by:
startin interfaceDataWriter
-
stop
public void stop()- Specified by:
stopin interfaceDataWriter
-
isConnected
public boolean isConnected()- Specified by:
isConnectedin interfaceDataWriter
-