public class GrpcExecutionFactory extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_INBOUND_MESSAGE_SIZE |
Constructor and Description |
---|
GrpcExecutionFactory() |
Modifier and Type | Method and Description |
---|---|
static RemoteExecutionClients |
createInProcess(BuckEventBus buckEventBus,
RemoteExecutionStrategyConfig strategyConfig)
The in-process strategy starts up a grpc remote execution service in process and connects to it
directly.
|
static RemoteExecutionClients |
createRemote(String executionEngineHost,
int executionEnginePort,
String casHost,
int casPort,
int casDeadline,
boolean insecure,
boolean casInsecure,
Optional<Path> certPath,
Optional<Path> keyPath,
Optional<Path> caPath,
RemoteExecutionStrategyConfig strategyConfig,
MetadataProvider metadataProvider,
BuckEventBus buckEventBus)
The remote strategy connects to a remote grpc remote execution service.
|
public static final int MAX_INBOUND_MESSAGE_SIZE
public static RemoteExecutionClients createInProcess(BuckEventBus buckEventBus, RemoteExecutionStrategyConfig strategyConfig) throws IOException
IOException
public static RemoteExecutionClients createRemote(String executionEngineHost, int executionEnginePort, String casHost, int casPort, int casDeadline, boolean insecure, boolean casInsecure, Optional<Path> certPath, Optional<Path> keyPath, Optional<Path> caPath, RemoteExecutionStrategyConfig strategyConfig, MetadataProvider metadataProvider, BuckEventBus buckEventBus) throws SSLException
SSLException