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

nyla.solutions.global.patterns.command.remote.partitioning.CommasRemoteRegistry Maven / Gradle / Ivy

Go to download

Nyla Solutions Global Java API provides support for basic application utilities (application configuration, data encryption, debugger and text processing).

The newest version!
package nyla.solutions.global.patterns.command.remote.partitioning;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Collection;

import nyla.solutions.global.patterns.command.commas.CommandFacts;

public interface CommasRemoteRegistry extends Remote
{
	/**
	 * 
	 * @param key the routing key
	 * @param commandFacts the Command facts
	 * @return
	 * @throws RemoteException
	 */
	LocationType whereIs(KeyType key, CommandFacts commandFacts)
	throws RemoteException;
	
	
	
	void registerKey(KeyType key, CommandFacts commandFacts, LocationType location )
	throws RemoteException;
	
	//TODO: may add to add command facts
	public void registerLocation(LocationType location)
	throws RemoteException;
	
	public Collection listRegisteredLocations()
	throws RemoteException;
	
	/**
	 * Unregister a location
	 * @param location remote all references to the location
	 * @throws RemoteException
	 */
	public void unregisterLocation(LocationType location)
	throws RemoteException;
	
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy