Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
I'm not sure that this is incorrect. GetFuture implements future so this isn't 
necessarily wrong. Have you tried using the jar in your code to see if it 
works? We have had many people who have downloaded this jar and haven't had 
this issue.

Original comment by [email protected] on 28 Sep 2011 at 12:15

from spymemcached.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
see this https://forums.aws.amazon.com/thread.jspa?threadID=76810&tstart=0

Original comment by [email protected] on 28 Sep 2011 at 12:26

from spymemcached.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
I still don't think this is your issue. I have downloaded the jar and run code 
against it using both of the asyncGet signatures. Your seeing multiple 
signatures because the interface and implementing class don't match, but since 
GetFuture is a subclass of Future this shouldn't be an issue. What the JVM is 
telling you is that it can't find any signature. In case I'm still wrong here I 
have attached a jar that won't have the signature diference that you are seeing 
if it does solve you issue I will merge it into the spy 2.7.2 branch. Below is 
my test code:

public class Test {
  public static void main(String args[]) throws Exception {
    try{
      MemcachedClient client = new MemcachedClient(new BinaryConnectionFactory(), Arrays.asList(new InetSocketAddress("localhost", 11211)));
      Transcoder<Object> t = new SerializingTranscoder();
      for (int i = 0; i < 1000; i ++) {
        String key = "key" + i;
        String value = "value" + i;
        client.set(key, 0, value).get().booleanValue();
        client.asyncGet(key, t).get();
      }
      client.shutdown();
    }catch (Exception e) {
      System.err.println("Error: " + e.getMessage());
      System.exit(1);
    }
  }
}


Original comment by [email protected] on 28 Sep 2011 at 11:32

Attachments:

from spymemcached.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
I think you posted your last comment on the wrong issue page. Anyways I 
compiled my jar by doing:

buildr package test=no

Original comment by [email protected] on 30 Sep 2011 at 10:31

from spymemcached.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Pretty sure this is right, closing this issue.  Please re-open if you find 
problems with 2.7.3.

Original comment by [email protected] on 16 Oct 2011 at 2:00

  • Changed state: Invalid

from spymemcached.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.