Permalink
Commits on Mar 30, 2008
  1. Ignore junit temp files.

    dustin committed Mar 30, 2008
  2. Updating the response magic byte to match the spec.

    dustin committed Mar 30, 2008
    The server will match the spec in this regard real soon now.
Commits on Mar 25, 2008
  1. Added assertions and exceptions around client creation.

    dustin committed Mar 25, 2008
    Also added a bunch of tests to ensure these are doing the right thing.
Commits on Mar 19, 2008
Commits on Mar 14, 2008
Commits on Mar 9, 2008
  1. Set version to 2.0

    dustin committed Mar 9, 2008
Commits on Mar 5, 2008
  1. Remove the transcoder parameter from the Javadoc for two methods.

    blair committed Mar 5, 2008
    These methods do not take a transcoder argument.
  2. Don't allow CAS to run forever.

    dustin committed Mar 5, 2008
    The user may supply a maximum number of attempts.  Currently, it
    doesn't know *why* a failure occurs, but it at least doesn't hang
    forever.
    
    Conflicts:
    
    	src/main/java/net/spy/memcached/CASMutator.java
    	src/main/java/net/spy/memcached/MemcachedClient.java
    	src/main/java/net/spy/memcached/SerializingTranscoder.java
    	src/main/java/net/spy/memcached/transcoders/LongTranscoder.java
    	src/test/java/net/spy/memcached/CASMutatorTest.java
  3. Increased test coverage.

    dustin committed Mar 5, 2008
  4. Don't allow CAS to run forever.

    dustin committed Mar 5, 2008
    The user may supply a maximum number of attempts.  Currently, it
    doesn't know *why* a failure occurs, but it at least doesn't hang
    forever.
  5. Make CASValue parameterized in T. Do this by requiring a Transcoder

    blair committed Mar 5, 2008
    argument for CASMutator's contrustor.  This removes the need for casts
    In CASMutator.  Use the new LongTranscoder in the test suite.
  6. Remove the encode*() and decode*() methods from SerializingTranscoder…

    blair committed Mar 5, 2008
    … and
    
    use the same methods from TranscoderUtils.
Commits on Mar 4, 2008
  1. Add a new transcoder for Long's.

    blair committed Mar 4, 2008
  2. Add two utility methods to take any integer or long and hash it into a

    blair committed Mar 4, 2008
    value safe for use as a memcached flags value.
  3. Move the encode*() and decode*() methods in SerializingTranscoder.java

    blair committed Mar 4, 2008
    into a new class and make them static.  This will allow other transcoders
    to use them.
  4. Move Transcoder and SerializingTranscoder into a new

    blair committed Mar 4, 2008
    net.spy.memcached.transcoders package.  This gives space to write
    transcoders for many native types, which will allow for compile-time
    checks.
  5. Add parameterized versions of all the MemcachedClient methods.

    blair committed Mar 4, 2008
    The new methods all take a Transcoder<T> and if they returned an
    Object, now return a T instead.
    
    The non-paramterized methods use the SerializingTranscoder which
    has T as an Object and calls the parameterized ones, so callers
    should not see a change in behavior.
  6. * src/main/java/net/spy/memcached/MemcachedClient.java

    blair committed Mar 4, 2008
      (setTranscoder):
        Rename the to argument to tc to be consistent with the variable names
        in src/test/java/net/spy/memcached/SerializingTranscoderTest.java.
    Rename the