public class CopycatGrpcTransport extends Object implements io.atomix.catalyst.transport.Transport
Transport
implementation that uses Alluxio gRPC.Constructor and Description |
---|
CopycatGrpcTransport(AlluxioConfiguration clientConf,
AlluxioConfiguration serverConf,
UserState clientUser,
UserState serverUser)
Creates
Transport for CopyCat that uses Alluxio gRPC. |
CopycatGrpcTransport(AlluxioConfiguration conf,
UserState user)
Creates
Transport for CopyCat that uses Alluxio gRPC. |
Modifier and Type | Method and Description |
---|---|
io.atomix.catalyst.transport.Client |
client() |
void |
close() |
io.atomix.catalyst.transport.Server |
server() |
CopycatGrpcTransport |
withServerProxy(CopycatGrpcProxy proxy)
Sets external proxy configuration for servers.
|
public CopycatGrpcTransport(AlluxioConfiguration conf, UserState user)
Transport
for CopyCat that uses Alluxio gRPC.conf
- Alluxio configurationuser
- Alluxio userpublic CopycatGrpcTransport(AlluxioConfiguration clientConf, AlluxioConfiguration serverConf, UserState clientUser, UserState serverUser)
Transport
for CopyCat that uses Alluxio gRPC.clientConf
- Alluxio configuration for clientsserverConf
- Alluxio configuration for serversclientUser
- User for clientsserverUser
- User for serverspublic CopycatGrpcTransport withServerProxy(CopycatGrpcProxy proxy)
proxy
- external proxy configurationpublic io.atomix.catalyst.transport.Client client()
client
in interface io.atomix.catalyst.transport.Transport
public io.atomix.catalyst.transport.Server server()
server
in interface io.atomix.catalyst.transport.Transport
public void close()
close
in interface io.atomix.catalyst.transport.Transport
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.