public abstract class ServiceServer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Condition |
condition |
protected ReentrantLock |
lock |
protected boolean |
paused |
| Constructor and Description |
|---|
ServiceServer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addServicesAndBuildServer(String siddhiAppName,
String streamID) |
protected abstract io.grpc.netty.shaded.io.netty.handler.ssl.SslContextBuilder |
addTrustStore(String filePath,
String password,
String algorithm,
io.grpc.netty.shaded.io.netty.handler.ssl.SslContextBuilder sslContextBuilder,
String storeType,
String siddhiAppName,
String streamID) |
protected abstract void |
connectServer(org.apache.log4j.Logger logger,
io.siddhi.core.stream.input.source.Source.ConnectionCallback connectionCallback,
String siddhiAppName,
String streamID) |
protected abstract void |
disconnectServer(org.apache.log4j.Logger logger,
String siddhiAppName,
String streamID) |
protected abstract io.grpc.netty.shaded.io.netty.handler.ssl.SslContextBuilder |
getSslContextBuilder(String filePath,
String password,
String algorithm,
String storeType,
String siddhiAppName,
String streamID) |
protected void |
handlePause(org.apache.log4j.Logger logger) |
void |
pause(org.apache.log4j.Logger logger,
String url)
Pause the execution.
|
void |
resume(org.apache.log4j.Logger logger,
String url)
Resume pool execution.
|
protected abstract void |
setServerPropertiesToBuilder(String siddhiAppName,
String streamID) |
protected boolean paused
protected ReentrantLock lock
protected Condition condition
protected abstract void setServerPropertiesToBuilder(String siddhiAppName, String streamID)
protected abstract void addServicesAndBuildServer(String siddhiAppName, String streamID)
protected abstract void connectServer(org.apache.log4j.Logger logger,
io.siddhi.core.stream.input.source.Source.ConnectionCallback connectionCallback,
String siddhiAppName,
String streamID)
protected abstract void disconnectServer(org.apache.log4j.Logger logger,
String siddhiAppName,
String streamID)
protected abstract io.grpc.netty.shaded.io.netty.handler.ssl.SslContextBuilder getSslContextBuilder(String filePath, String password, String algorithm, String storeType, String siddhiAppName, String streamID) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, UnrecoverableKeyException
protected abstract io.grpc.netty.shaded.io.netty.handler.ssl.SslContextBuilder addTrustStore(String filePath, String password, String algorithm, io.grpc.netty.shaded.io.netty.handler.ssl.SslContextBuilder sslContextBuilder, String storeType, String siddhiAppName, String streamID) throws NoSuchAlgorithmException, KeyStoreException, CertificateException
public void pause(org.apache.log4j.Logger logger,
String url)
public void resume(org.apache.log4j.Logger logger,
String url)
protected void handlePause(org.apache.log4j.Logger logger)
Copyright © 2019 WSO2. All rights reserved.