All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.spy.memcached.BroadcastOpFactory Maven / Gradle / Ivy

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