public class VisorGgfsConfig extends Object implements Serializable
| Constructor and Description |
|---|
VisorGgfsConfig() |
public static VisorGgfsConfig from(GridGgfsConfiguration ggfs)
ggfs - GGFS configuration.public static Iterable<VisorGgfsConfig> list(GridGgfsConfiguration[] ggfss)
ggfss - ggfs configurations.@Nullable public String metaCacheName()
public void metaCacheName(@Nullable String metaCacheName)
metaCacheName - New cache name to store GGFS meta information.public void dataCacheName(@Nullable String dataCacheName)
dataCacheName - New cache name to store GGFS data.public int blockSize()
public void blockSize(int blockSize)
blockSize - New file's data block size.public int prefetchBlocks()
public void prefetchBlocks(int prefetchBlocks)
prefetchBlocks - New number of pre-fetched blocks if specific file's chunk is requested.public int streamBufferSize()
public void streamBufferSize(int streamBufSize)
streamBufSize - New read/write buffer size for GGFS stream operations in bytes.public int perNodeBatchSize()
public void perNodeBatchSize(int perNodeBatchSize)
perNodeBatchSize - New number of file blocks buffered on local node before sending batch to remote node.public int perNodeParallelBatchCount()
public void perNodeParallelBatchCount(int perNodeParallelBatchCnt)
perNodeParallelBatchCnt - New number of batches that can be concurrently sent to remote node.@Nullable public String secondaryHadoopFileSystemUri()
public void secondaryHadoopFileSystemUri(@Nullable String secondaryHadoopFileSysUri)
secondaryHadoopFileSysUri - New URI of the secondary Hadoop file system.@Nullable public String secondaryHadoopFileSystemConfigPath()
public void secondaryHadoopFileSystemConfigPath(@Nullable String secondaryHadoopFileSysCfgPath)
secondaryHadoopFileSysCfgPath - New path for the secondary hadoop file system config.public GridGgfsMode defaultMode()
public void defaultMode(GridGgfsMode dfltMode)
dfltMode - New gGFS instance mode.@Nullable public Map<String,GridGgfsMode> pathModes()
public void pathModes(@Nullable Map<String,GridGgfsMode> pathModes)
pathModes - New map of paths to GGFS modes.public String dualModePutExecutorService()
public void dualModePutExecutorService(String dualModePutExecutorSrvc)
dualModePutExecutorSrvc - New dual mode PUT operations executor service.public boolean dualModePutExecutorServiceShutdown()
public void dualModePutExecutorServiceShutdown(boolean dualModePutExecutorSrvcShutdown)
dualModePutExecutorSrvcShutdown - New dual mode PUT operations executor service shutdown flag.public long dualModeMaxPendingPutsSize()
public void dualModeMaxPendingPutsSize(long dualModeMaxPendingPutsSize)
dualModeMaxPendingPutsSize - New maximum amount of data in pending puts.public long maxTaskRangeLength()
public void maxTaskRangeLength(long maxTaskRangeLen)
maxTaskRangeLen - New maximum range length.public int fragmentizerConcurrentFiles()
public void fragmentizerConcurrentFiles(int fragmentizerConcurrentFiles)
fragmentizerConcurrentFiles - New fragmentizer concurrent files.public float fragmentizerLocalWritesRatio()
public void fragmentizerLocalWritesRatio(float fragmentizerLocWritesRatio)
fragmentizerLocWritesRatio - New fragmentizer local writes ratio.public boolean fragmentizerEnabled()
public void fragmentizerEnabled(boolean fragmentizerEnabled)
fragmentizerEnabled - New fragmentizer enabled flag.public long fragmentizerThrottlingBlockLength()
public void fragmentizerThrottlingBlockLength(long fragmentizerThrottlingBlockLen)
fragmentizerThrottlingBlockLen - New fragmentizer throttling block length.public long fragmentizerThrottlingDelay()
public void fragmentizerThrottlingDelay(long fragmentizerThrottlingDelay)
fragmentizerThrottlingDelay - New fragmentizer throttling delay.@Nullable public String ipcEndpointConfiguration()
public void ipcEndpointConfiguration(@Nullable String ipcEndpointCfg)
ipcEndpointCfg - New IPC endpoint config (in JSON format) to publish GGFS over.public boolean ipcEndpointEnabled()
public void ipcEndpointEnabled(boolean ipcEndpointEnabled)
ipcEndpointEnabled - New iPC endpoint enabled flag.public long maxSpace()
public void maxSpace(long maxSpace)
maxSpace - New maximum space.public int managementPort()
public void managementPort(int mgmtPort)
mgmtPort - New management port.public int sequenceReadsBeforePrefetch()
public void sequenceReadsBeforePrefetch(int seqReadsBeforePrefetch)
seqReadsBeforePrefetch - New amount of sequential block reads before prefetch is triggered.public long trashPurgeTimeout()
public void trashPurgeTimeout(long trashPurgeTimeout)
trashPurgeTimeout - New trash purge await timeout.Copyright © 2014. All rights reserved.