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

net.hycube.dht.HyCubeResourceAccessController Maven / Gradle / Ivy

Go to download

HyCube is a distributed hash table based on a hierarchical hypercube geometry, employing a novel variable metric adopting the Steinhaus transform.

There is a newer version: 1.0.5
Show newest version
package net.hycube.dht;

import net.hycube.core.HyCubeNodeId;
import net.hycube.core.NodeAccessor;
import net.hycube.environment.NodeProperties;

public interface HyCubeResourceAccessController {

	public void initialize(NodeAccessor nodeAccessor, NodeProperties properties);
	
	
	public boolean checkPutAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd);
	
	public boolean checkPutAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd, boolean replicated);
	
	public boolean checkRefreshPutAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd);
	
	public boolean checkRefreshPutAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd, boolean replicated);
	
	public boolean checkGetAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd);
	
	public boolean checkDeleteAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd);
	
	
	
	public boolean checkPutAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd, Object[] parameters);
	
	public boolean checkPutAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd, boolean replicated, Object[] parameters);
	
	public boolean checkRefreshPutAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd, Object[] parameters);
	
	public boolean checkRefreshPutAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd, boolean replicated, Object[] parameters);
	
	public boolean checkGetAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd, Object[] parameters);
	
	public boolean checkDeleteAccess(HyCubeNodeId nodeId, HyCubeResourceDescriptor rd, Object[] parameters);
	
	
	
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy