netcom.mds
Class RemoveShareTask
java.lang.Object
netcom.mds.AbstractShareTask
netcom.mds.RemoveShareTask
- All Implemented Interfaces:
- java.lang.Runnable
- public class RemoveShareTask
- extends AbstractShareTask
- implements java.lang.Runnable
Title: Remove Share Task
Description: This is a task which handles removing one share from some
PSData object contained in this MDS node, then rebuilding a new BloomFilter,
and sending out a BloomUpdate to all other MDS nodes
Copyright: Copyright (c) 2002
Company: NETCOM
- See Also:
AbstractShareTask
Method Summary |
void |
run()
Method which begins execution of this task. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveShareTask
public RemoveShareTask(RemoveShareRequest new_request,
PSData psdata,
java.util.Map psdatas,
LDAPCommunicator ldap_comm,
NodeEntry parent_node)
- Constructs a task to remove a share from a matching PSData in the Map of PSDatas
- Parameters:
new_request
- the share which will be removedpsdata
- the correct PSData which is being modifiedpsdatas
- a Map of psdata which will be used to have the share removed and to rebuild
the bloom filter (thread-safe copy)ldap_comm
- a reference to a LDAPCommunicator object to use for Bloom Updates
run
public void run()
- Method which begins execution of this task. Removes a share from a PServer's PSData, ignoring
the request if there is no share to remove. Then sends a bloom update to all other MDS Nodes
- Specified by:
run
in interface java.lang.Runnable
- Specified by:
run
in class AbstractShareTask