Class InProcessRelationalServer
- java.lang.Object
-
- com.apple.foundationdb.relational.server.InProcessRelationalServer
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
@API(EXPERIMENTAL) public class InProcessRelationalServer extends java.lang.Object implements java.io.Closeable
Launch an in-process 'direct-invocation' (no RPC) Relational GRPC Server. Each in-process server is identified by 'name'. LikeRelationalServer
only in-process and only runs the Relational GRPC Service and no other (no HealthCheck Service, etc.).- See Also:
RelationalServer
-
-
Constructor Summary
Constructors Constructor Description InProcessRelationalServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.lang.String
getServerName()
InProcessRelationalServer
start()
java.lang.String
toString()
-
-
-
Method Detail
-
getServerName
public java.lang.String getServerName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
start
public InProcessRelationalServer start() throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-