This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern crate hyper; | |
| use hyper::server::{Server, Request, Response}; | |
| use hyper::status::StatusCode; | |
| use hyper::header::{Host, UserAgent}; | |
| use hyper::uri::RequestUri; | |
| use hyper::client::Client; | |
| use std::io; | |
| use std::fs::File; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| queryTemplate = ViewQuery.from("design", "view"); | |
| processViewOptions(queryTemplate, vopts.getInner()); | |
| long iterRemaining = getPrivopts().iterCount; | |
| while (isCancelled == false) { | |
| boolean gotException = false; | |
| long beginTime = System.currentTimeMillis(); | |
| String curView; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apply plugin: 'checkstyle' | |
| checkstyleMain { | |
| ignoreFailures = false | |
| reports { | |
| include ( '**/*.java') | |
| xml { | |
| destination "${rootProject.buildDir}/reports/checkstyle/main.xml" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apply plugin: 'java' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| compile group: 'net.spy', name:'spymemcached', version: '2.10.3' | |
| } |