Comments (5)
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.
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.
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.
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.
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)
- State the dependencies in the pom file HOT 5
- Multhreaded implementation with SASL support not working. HOT 1
- Operation class is used in un-threadsafe, unsynchronized manner. HOT 4
- Inside TCPMemcachedNodeImpl, use direct buffers HOT 4
- Stability problems in async I/O HOT 4
- assertion failure during ConsistentHashingTest HOT 1
- incr/decr parameter "by" should be a long, not an int HOT 9
- Zlib encoding/binary access HOT 3
- getBulk() logs a warning when no keys are in the cache HOT 3
- bug in OperationImpl HOT 6
- get(long timeout, TimeUnit unit) may take longer than given timeout HOT 3
- IllegalArgumentException after Switching from SpyMemcached 2.7 to 2.7.1 HOT 2
- "unl" unlock operation is not implemented on MembaseClient HOT 9
- Callback support HOT 11
- Get canceled HOT 5
- CAS operation fails due to client sign-extending the CAS value HOT 1
- warning for "handling node for operation is not set" if any server is down HOT 4
- javadoc warnings from tap and vbucket classes HOT 3
- CASMutator removes expiry on mutated items
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spymemcached.