public class ShareDetailsHash extends Object
Hashtable of ShareDetails for the available disk shared devices. ShareDetails are indexed using the hash of the share name to allow mounts to be persistent across server restarts.
Constructor and Description |
---|
ShareDetailsHash()
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addDetails(ShareDetails details)
Add share details to the list of available shares
|
ShareDetails |
deleteDetails(String shareName)
Delete share details from the list
|
ShareDetails |
findDetails(int hashCode)
Find share details for the specified share name hash code
|
ShareDetails |
findDetails(String shareName)
Find share details for the specified share name
|
Hashtable<Integer,ShareDetails> |
getShareDetails() |
public final void addDetails(ShareDetails details)
details
- ShareDetailspublic final ShareDetails deleteDetails(String shareName)
shareName
- Stringpublic final ShareDetails findDetails(String shareName)
shareName
- Stringpublic final ShareDetails findDetails(int hashCode)
hashCode
- intpublic final Hashtable<Integer,ShareDetails> getShareDetails()
Copyright © 2005–2018 Alfresco Software. All rights reserved.