Class TempFileSink

java.lang.Object
io.grpc.protobuf.services.TempFileSink
All Implemented Interfaces:
BinaryLogSink, Closeable, AutoCloseable

class TempFileSink extends Object implements BinaryLogSink
The output file goes to the JVM's temp dir with a prefix of BINARY_INFO. The proto messages are written serially using MessageLite.writeDelimitedTo(OutputStream).
  • Field Details

    • logger

      private static final Logger logger
    • outPath

      private final String outPath
    • out

      private final OutputStream out
    • closed

      private boolean closed
  • Constructor Details

  • Method Details