MCPcopy Create free account
hub / github.com/apache/thrift / Invocation

Class Invocation

lib/java/src/main/java/org/apache/thrift/server/Invocation.java:10–21  ·  view source on GitHub ↗

An Invocation represents a method call that is prepared to execute, given an idle worker thread. It contains the input and output protocols the thread's processor should use to perform the usual Thrift invocation.

Source from the content-addressed store, hash-verified

8 * Thrift invocation.
9 */
10class Invocation implements Runnable {
11 private final FrameBuffer frameBuffer;
12
13 public Invocation(final FrameBuffer frameBuffer) {
14 this.frameBuffer = frameBuffer;
15 }
16
17 @Override
18 public void run() {
19 frameBuffer.invoke();
20 }
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected