Skip to content

Commit

Permalink
Fixed all the checkstyle warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
smadappa committed Feb 13, 2013
1 parent e890597 commit 1980a0f
Show file tree
Hide file tree
Showing 31 changed files with 2,542 additions and 1,889 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
EVCache

EVCache is a memcached & spymemcached based caching solution that is mainly used for AWS EC2 infrastructure for caching frequently used data.

EVCache is an abbreviation for:
Ephemeral - The data stored is for a short duration as specified by its TTL (Time To Live).
Volatile - The data can disappear any time (Evicted).
Cache - An in-memory key-value store.


=============

This project represents a template for what a Netflix OSS project should look like. We're striving for a pure Gradle build, instead of taking a consolidated plugin approach, as we would internally. This will maintain each project's isolation and keep the build as transparent as possible to the outside world. While at the same time we want to be able to push out build updates in a predictable fashion.

There are three branches for which you should concern yourself with:
Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ project(':client') {
compile 'com.netflix.eureka:eureka-core:1.1.73'
compile 'com.netflix.archaius:archaius-core:0.5.4'
compile 'com.netflix.servo:servo-core:'
compile 'org.slf4j:slf4j-log4j12:1.7.2'
compile 'org.slf4j:slf4j-log4j12:1.7.0'
compile 'junit:junit:4.10'
compile 'log4j:log4j:1.2.17'

compile 'org.slf4j:slf4j-api:1.7.2'
compile 'com.sun.jersey:jersey-client:1.11'
Expand Down
271 changes: 163 additions & 108 deletions client/src/main/java/com/netflix/evcache/EVCache.java

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions client/src/main/java/com/netflix/evcache/EVCacheException.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@


/**
* Base exception class for any error conditions that occur while using an EVCache client
* Base exception class for any error conditions that occur while using an EVCache client
* to make service calls to EVCache Server.
*/
public class EVCacheException extends Exception {

private static final long serialVersionUID = -3885811159646046383L;

/**
* Constructs a new EVCacheException with the specified message.
*
*
* @param message Describes the error encountered.
*/
public EVCacheException(String message) {
Expand All @@ -20,11 +20,11 @@ public EVCacheException(String message) {

/**
* Constructs a new EVCacheException with the specified message and exception indicating the root cause.
*
*
* @param message Describes the error encountered.
* @param cause The root exception that caused this exception to be thrown.
*/
public EVCacheException(String message, Throwable cause) {
super(message, cause);
}
}
}
Loading

0 comments on commit 1980a0f

Please sign in to comment.