Package com.influxdb.v3.client.internal
Class GrpcCallOptions
java.lang.Object
com.influxdb.v3.client.internal.GrpcCallOptions
The collection of runtime options for a new RPC call.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classBuilder for GrpcCallOption.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanorg.apache.arrow.flight.CallOption[]Get the CallOption callback list which is use when setting the grpc CallOption.Returns the compressor's name.io.grpc.DeadlineReturns the absolute deadline for a call.static GrpcCallOptionsCreates a default instance ofGrpcCallOptionswith predefined settings.Returns the Executor to be used instead of default.Returns the maximum allowed message size acceptable from the remote peer.Returns the maximum allowed message size acceptable to send the remote peer.Returns the wait for ready flag.inthashCode()static org.apache.arrow.flight.CallOption[]mergeCallOptions(org.apache.arrow.flight.CallOption[] baseCallOptions, org.apache.arrow.flight.CallOption... callOptions) Merges two arrays ofCallOptioninto a single array.toString()
- 
Method Details- 
getDefaultOptionsCreates a default instance ofGrpcCallOptionswith predefined settings.The default configuration includes: - Maximum inbound message size set to Integer.MAX_VALUE.
 GrpcCallOptions.Builder.- Returns:
- the default configuration of GrpcCallOptions.
 
- Maximum inbound message size set to 
- 
mergeCallOptionspublic static org.apache.arrow.flight.CallOption[] mergeCallOptions(@Nullable org.apache.arrow.flight.CallOption[] baseCallOptions, org.apache.arrow.flight.CallOption... callOptions) Merges two arrays ofCallOptioninto a single array. The method combines the elements from the baseCallOptions array and the additional callOptions array. If either of the input arrays is null, it will be treated as an empty array.- Parameters:
- baseCallOptions- the base array of- CallOptioninstances, may be null
- callOptions- additional- CallOptioninstances to be added, may also be null
- Returns:
- a combined array containing all CallOptioninstances from both input arrays
 
- 
getDeadline@Nullable public io.grpc.Deadline getDeadline()Returns the absolute deadline for a call.- Returns:
- the Deadline object
 
- 
getExecutorReturns the Executor to be used instead of default.- Returns:
- the Executor
 
- 
getCompressorNameReturns the compressor's name.- Returns:
- the compressor's name
 
- 
getWaitForReadyReturns the wait for ready flag.- Returns:
- the wait for ready flag
 
- 
getMaxInboundMessageSizeReturns the maximum allowed message size acceptable from the remote peer.- Returns:
- the maximum message size receive allowed
 
- 
getMaxOutboundMessageSizeReturns the maximum allowed message size acceptable to send the remote peer.- Returns:
- the maximum message size send allowed
 
- 
getCallOptions@Nonnull public org.apache.arrow.flight.CallOption[] getCallOptions()Get the CallOption callback list which is use when setting the grpc CallOption.- Returns:
- the CallOption list
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-