net.spy.memcached.BroadcastOpFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spymemcached Show documentation
Show all versions of spymemcached Show documentation
A simple, asynchronous, single-threaded Memcached client written in java.
The newest version!
package net.spy.memcached;
import java.util.concurrent.CountDownLatch;
import net.spy.memcached.ops.Operation;
/**
* Factory for creating Operations to be broadcast.
*/
public interface BroadcastOpFactory {
/**
* Construct a new operation for delivery to the given node.
* Each operation should count the given latch down upon completion.
*/
Operation newOp(MemcachedNode n, CountDownLatch latch);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy