Thrift Server implementation backed by LMAX Disruptor.
Thrift Server implementation backed by LMAX Disruptor. Shows better throughput/latency characteristics than build-in THsHa and TThreadedSelector servers..
Here is the list of declaration for thrift-server. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.thinkaurelius.thrift</groupId> <artifactId>thrift-server</artifactId> <version>0.3.3</version> </dependency>
If you think this Maven repository POM file listing for thrift-server is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache 2
URL: http://www.opensource.org/licenses/Apache-2.0.
The thrift-server-0.3.3 has 6 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JEE | libthrift 0.9.1 Thrift is a software framework for scalable cross-language services development. | 60 |
Log | slf4j-api 1.6.1 The slf4j API | 621 |
Log | slf4j-log4j12 1.7.2 SLF4J LOG4J-12 Binding | 210 |
JUnit | junit 4.8.1 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1256 |
The following plugins are used in the thrift-server-0.3.3.jar
The following packages are defined in the thrift-server-0.3.3.jar
com.thinkaurelius.thrift com.thinkaurelius.thrift.test com.thinkaurelius.thrift.util com.thinkaurelius.thrift.util.mem
Here is the content of the POM file.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <groupId>com.thinkaurelius.thrift</groupId> <artifactId>thrift-server</artifactId> <version>0.3.3</version> <packaging>jar</packaging> <prerequisites> <maven>2.2.1</maven> </prerequisites> <name>Thrift Server implementation backed by LMAX Disruptor</name> <url>http://github.com/xedin/disruptor_thrift_server</url> <description> Thrift Server implementation backed by LMAX Disruptor. Shows better throughput/latency characteristics than build-in THsHa and TThreadedSelector servers. </description> <inceptionYear>2013</inceptionYear> <licenses> <license> <name>Apache 2</name> <url>http://www.opensource.org/licenses/Apache-2.0</url> </license> </licenses> <scm> <connection>scm:git:git@github.com:xedin/disruptor_thrift_server.git</connection> <developerConnection>scm:git:git@github.com:xedin/disruptor_thrift_server.git</developerConnection> <url>git@github.com:xedin/disruptor_thrift_server.git</url> </scm> <properties> <junit.version>4.5</junit.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- Required for PMD plugin. Used for compiler plugin --> <targetJdk>1.7</targetJdk> </properties> <dependencies> <dependency> <groupId>com.lmax</groupId> <artifactId>disruptor</artifactId> <version>3.0.1</version> </dependency> <dependency> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> <version>0.9.1</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.1</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.2</version> </dependency> <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna</artifactId> <version>3.2.7</version> <optional>true</optional> </dependency> <!-- Test Dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.1</version> </dependency> </dependencies> <build> <finalName>disruptor-${project.artifactId}-${project.version}</finalName> <directory>${basedir}/target</directory> <sourceDirectory>.</sourceDirectory> <resources> <resource> <directory>${basedir}/src/main/resources</directory> <filtering>true</filtering> </resource> </resources> <testResources> <testResource> <directory>src/test/resources</directory> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <includes> <include>src/main/java/**/*.java</include> <include>src/test/java/**/*.java</include> <include>src/test/gen-java/**/*.java</include> </includes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> <configuration> <sourcepath>src/main/java</sourcepath> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4</version> <executions> <execution> <phase>package</phase> <goals> <goal>attached</goal> </goals> </execution> </executions> <configuration> <attach>false</attach> <descriptors> <descriptor>src/assembly/distribution.xml</descriptor> </descriptors> <finalName>disruptor-${project.artifactId}-${project.version}</finalName> <outputDirectory>target</outputDirectory> <workDirectory>target/assembly/work</workDirectory> <tarLongFileMode>warn</tarLongFileMode> <archiverConfig> <fileMode>420</fileMode> <!-- 420(dec) = 644(oct) --> <directoryMode>493</directoryMode> <!-- 493(dec) = 755(oct) --> <defaultDirectoryMode>493</defaultDirectoryMode> </archiverConfig> </configuration> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.5.1</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.11</version> <configuration> <runOrder>random</runOrder> <argLine>-Xms256m -Xmx1024m</argLine> <forkMode>always</forkMode> </configuration> </plugin> </plugins> </pluginManagement> </build> </project>