code: public void setKey(String key, String value, int timeToLive) throws Exception {
          try {
              Future<Boolean>[] _future = evCache.set(key, value, timeToLive);
  
              // Wait for all the Futures to complete.
              // In "verbose" mode, show the status for each.
              for (Future<Boolean> f : _future) {
              	boolean didSucceed = f.get();
              	if (verboseMode) {
                      System.out.println("per-shard set success code for key " + key + " is " + didSucceed);
                  }
              }
              if (!verboseMode) {
                  // Not verbose. Just give one line of output per "set," without a success code
                  System.out.println("finished setting key " + key);
              }
          } catch (EVCacheException e) {
              e.printStackTrace();
          }
      }
docs: Set a key in the cache.
  
  See the memcached documentation for what "timeToLive" means.
  Zero means "never expires."
  Small integers (under some threshold) mean "expires this many seconds from now."
  Large integers mean "expires at this Unix timestamp" (seconds since 1/1/1970).
  Warranty expires 17-Jan 2038.