Class HelidonGrpcAcceptorController
java.lang.Object
com.oracle.coherence.grpc.proxy.common.BaseGrpcAcceptorController
com.oracle.coherence.grpc.proxy.helidon.HelidonGrpcAcceptorController
- All Implemented Interfaces:
com.tangosol.net.grpc.GrpcAcceptorController
,Comparable<com.tangosol.net.grpc.GrpcAcceptorController>
A
GrpcAcceptorController
that starts a Helidon gRPC server.-
Field Summary
Fields inherited from class com.oracle.coherence.grpc.proxy.common.BaseGrpcAcceptorController
m_dependencies
Fields inherited from interface com.tangosol.net.grpc.GrpcAcceptorController
NULL_CONTROLLER, PRIORITY_NORMAL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GrpcServiceDependencies
Return the name of the in-process gRPC server.int
Return the port that the gRPC server is listening on.int
Return the priority of this controller if multiple controllers are discovered.com.tangosol.net.grpc.GrpcDependencies.ServerType
void
setDaemonPool
(com.tangosol.internal.util.DaemonPool pool) Set theDaemonPool
to be used.protected void
startInternal
(List<io.grpc.ServerServiceDefinition> listServices, List<io.grpc.BindableService> listBindable) protected void
Methods inherited from class com.oracle.coherence.grpc.proxy.common.BaseGrpcAcceptorController
applyInterceptors, ensureServices, getBindableServices, getDependencies, getLocalAddress, isRunning, setDependencies, start, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.net.grpc.GrpcAcceptorController
compareTo
-
Constructor Details
-
HelidonGrpcAcceptorController
public HelidonGrpcAcceptorController()
-
-
Method Details
-
getPriority
public int getPriority()Description copied from interface:com.tangosol.net.grpc.GrpcAcceptorController
Return the priority of this controller if multiple controllers are discovered. The controller with the highest priority will be used. If multiple controllers have the highest priority the actual controller used cannot be determined.- Returns:
- the priority of this controller if multiple controllers are discovered
-
setDaemonPool
public void setDaemonPool(com.tangosol.internal.util.DaemonPool pool) Description copied from interface:com.tangosol.net.grpc.GrpcAcceptorController
Set theDaemonPool
to be used.- Parameters:
pool
- theDaemonPool
to be used
-
createServiceDeps
- Specified by:
createServiceDeps
in classBaseGrpcAcceptorController
-
startInternal
protected void startInternal(List<io.grpc.ServerServiceDefinition> listServices, List<io.grpc.BindableService> listBindable) throws IOException - Specified by:
startInternal
in classBaseGrpcAcceptorController
- Throws:
IOException
-
stopInternal
protected void stopInternal()- Specified by:
stopInternal
in classBaseGrpcAcceptorController
-
getLocalPort
public int getLocalPort()Description copied from interface:com.tangosol.net.grpc.GrpcAcceptorController
Return the port that the gRPC server is listening on.- Returns:
- the port that the gRPC server is listening on
-
getInProcessName
Description copied from interface:com.tangosol.net.grpc.GrpcAcceptorController
Return the name of the in-process gRPC server.- Returns:
- the name of the in-process gRPC server
-
getServerType
public com.tangosol.net.grpc.GrpcDependencies.ServerType getServerType()
-