Package com.hazelcast.ascii.memcache

Examples of com.hazelcast.ascii.memcache.MemcacheEntry


                assertEquals(String.valueOf(i), client.get(prefix + String.valueOf(i)));
                final OperationFuture<Boolean> future = client.set(prefix + String.valueOf(i), 0, String.valueOf(i * 10));
                future.get();
            }
            for (int i = 0; i < 100; i++) {
                final MemcacheEntry memcacheEntry = (MemcacheEntry) map.get(String.valueOf(i));
                final MemcacheEntry expected = new MemcacheEntry(prefix + String.valueOf(i), String.valueOf(i * 10).getBytes(), 0);
                assertEquals(expected, memcacheEntry);
            }
            final OperationFuture<Boolean> future = client.delete(prefix);
            future.get();
            for (int i = 0; i < 100; i++) {
View Full Code Here

TOP

Related Classes of com.hazelcast.ascii.memcache.MemcacheEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.