public class FilesystemsConfigSection extends ConfigSection
Modifier and Type | Field and Description |
---|---|
static String |
SectionName |
Constructor and Description |
---|
FilesystemsConfigSection(ServerConfiguration config)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addFileStateCache(String filesysName,
FileStateCache stateCache)
Add a file state cache to the file state reaper thread, to scan for expired file states
|
boolean |
addShare(SharedDevice shr)
Add a shared device to the server configuration.
|
void |
closeConfig()
Close the configuration section
|
SharedDeviceList |
getShares()
Return the shared device list.
|
fireConfigurationChange, getSectionName, getServerConfiguration, isUpdated, setUpdated
public static final String SectionName
public FilesystemsConfigSection(ServerConfiguration config)
config
- ServerConfigurationpublic final SharedDeviceList getShares()
public final boolean addShare(SharedDevice shr)
shr
- SharedDevicepublic final void addFileStateCache(String filesysName, FileStateCache stateCache)
filesysName
- StringstateCache
- FileStateCachepublic final void closeConfig()
closeConfig
in class ConfigSection
Copyright © 2005–2018 Alfresco Software. All rights reserved.