public class NFSConfigSection extends ConfigSection
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SectionName |
Constructor and Description |
---|
NFSConfigSection(ServerConfiguration config)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getMountServerPort()
Return the port the mount server should use, or zero for the default port
|
int |
getNFSDebug()
Return the NFS debug flags
|
long |
getNFSFileCacheCloseTimer()
Return the NFS file cache close timer, in milliseconds
|
long |
getNFSFileCacheIOTimer()
Return the NFS file cache I/O timer, in milliseconds
|
int |
getNFSPacketPoolSize()
Return the NFS server packet pool size, or -1 for the default size
|
int |
getNFSServerPort()
Return the port the NFS server should use, or zero for the default port
|
int |
getNFSThreadPoolSize()
Return the NFS thread pool size
|
int |
getPortMapperPort()
Return the port for port mapper to use, or zero for the default port
|
RpcAuthenticator |
getRpcAuthenticator()
Get the authenticator object that is used to provide RPC authentication (for the portmapper, mount server and
NFS server)
|
org.springframework.extensions.config.ConfigElement |
getRPCAuthenticatorParameters()
Return the RPC authenticator initialization parameters
|
int |
getRPCRegistrationPort()
Return the RPC registration port
|
boolean |
hasMountServerDebug()
Determine if mount server debug is enabled
|
boolean |
hasNFSFileCacheDebug()
Check if NFS file cache debug output is enabled
|
boolean |
hasNFSPortMapper()
Check if the NFS port mapper is enabled
|
boolean |
hasPortMapperDebug()
Determine if port mapper debug is enabled
|
int |
setMountServerDebug(boolean dbg)
Enable/disable mount server debug output
|
int |
setMountServerPort(int port)
Set the mount server port
|
int |
setNFSDebug(int dbg)
Set the NFS debug flags
|
int |
setNFSFileCacheCloseTimer(long closeTimer)
Set the NFS file cache close timer, in milliseconds
|
int |
setNFSFileCacheDebug(boolean ena)
Set the NFS file cache debug enable flag
|
int |
setNFSFileCacheIOTimer(long ioTimer)
Set the NFS file cache I/O timer, in milliseconds
|
int |
setNFSPacketPoolSize(int poolSize)
Set the NFS packet pool size
|
int |
setNFSPortMapper(boolean ena)
Set the NFS port mapper enable flag
|
int |
setNFSServerPort(int port)
Set the NFS server port
|
int |
setNFSThreadPoolSize(int poolSize)
Set the NFS thread pool size
|
int |
setPortMapperDebug(boolean dbg)
Enable/disable port mapper debug output
|
int |
setPortMapperPort(int port)
Set the port mapper port
|
int |
setRpcAuthenticator(RpcAuthenticator auth)
Set the RPC authenticator to be used to authenticate access to the RPC based services (portmapper, mount
server and NFS server)
|
int |
setRpcAuthenticator(java.lang.String authClass,
org.springframework.extensions.config.ConfigElement params)
Set the RPC authenticator to be used to authenticate access to the RPC based services (portmapper, mount
server and NFS server)
|
int |
setRPCRegistrationPort(int port)
Set the RPC registration port
|
closeConfig, fireConfigurationChange, getSectionName, getServerConfiguration, isUpdated, setUpdated
public static final java.lang.String SectionName
public NFSConfigSection(ServerConfiguration config)
config
- ServerConfigurationpublic final boolean hasPortMapperDebug()
public final boolean hasMountServerDebug()
public final boolean hasNFSPortMapper()
public final int getPortMapperPort()
public final int getMountServerPort()
public final int getNFSServerPort()
public final int getRPCRegistrationPort()
public final int getNFSDebug()
public final int getNFSThreadPoolSize()
public final int getNFSPacketPoolSize()
public final RpcAuthenticator getRpcAuthenticator()
public final org.springframework.extensions.config.ConfigElement getRPCAuthenticatorParameters()
public final long getNFSFileCacheIOTimer()
public final long getNFSFileCacheCloseTimer()
public final boolean hasNFSFileCacheDebug()
public final int setNFSPortMapper(boolean ena) throws InvalidConfigurationException
ena
- booleanInvalidConfigurationException
public final int setNFSDebug(int dbg) throws InvalidConfigurationException
dbg
- intInvalidConfigurationException
public final int setPortMapperPort(int port) throws InvalidConfigurationException
port
- intInvalidConfigurationException
public final int setMountServerPort(int port) throws InvalidConfigurationException
port
- intInvalidConfigurationException
public final int setNFSServerPort(int port) throws InvalidConfigurationException
port
- intInvalidConfigurationException
public final int setRPCRegistrationPort(int port) throws InvalidConfigurationException
port
- intInvalidConfigurationException
public final int setNFSThreadPoolSize(int poolSize) throws InvalidConfigurationException
poolSize
- intInvalidConfigurationException
public final int setNFSPacketPoolSize(int poolSize) throws InvalidConfigurationException
poolSize
- intInvalidConfigurationException
public final int setPortMapperDebug(boolean dbg) throws InvalidConfigurationException
dbg
- booleanInvalidConfigurationException
public final int setMountServerDebug(boolean dbg) throws InvalidConfigurationException
dbg
- booleanInvalidConfigurationException
public final int setRpcAuthenticator(java.lang.String authClass, org.springframework.extensions.config.ConfigElement params) throws InvalidConfigurationException
authClass
- Stringparams
- ConfigElementInvalidConfigurationException
public final int setRpcAuthenticator(RpcAuthenticator auth) throws InvalidConfigurationException
authClass
- Stringparams
- ConfigElementInvalidConfigurationException
public final int setNFSFileCacheIOTimer(long ioTimer) throws InvalidConfigurationException
ioTimer
- longInvalidConfigurationException
public final int setNFSFileCacheCloseTimer(long closeTimer) throws InvalidConfigurationException
closeTimer
- longInvalidConfigurationException
public final int setNFSFileCacheDebug(boolean ena) throws InvalidConfigurationException
ena
- booleanInvalidConfigurationException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.