All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.thrift.server.Invocation Maven / Gradle / Ivy

Go to download

Thrift is a software framework for scalable cross-language services development.

There is a newer version: 0.20.0
Show newest version
package org.apache.thrift.server;

import org.apache.thrift.server.AbstractNonblockingServer.FrameBuffer;

/**
 * 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.
 */
class Invocation implements Runnable {
  private final FrameBuffer frameBuffer;

  public Invocation(final FrameBuffer frameBuffer) {
    this.frameBuffer = frameBuffer;
  }

  public void run() {
    frameBuffer.invoke();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy