public class P2PConfiguration extends Object
| Constructor and Description |
|---|
P2PConfiguration() |
P2PConfiguration(int maintenanceThreads,
int replicationThreads,
boolean startMaintenance) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBagSize() |
int |
getCacheSize() |
int |
getCacheTimeoutMillis() |
int |
getDiscoverTimeoutSec() |
int |
getMaintenanceThreads() |
int |
getMaxNrBeforeExclude() |
int |
getReplicationRefreshMillis() |
int |
getReplicationThreads() |
int |
getTrackerTimoutSeconds() |
int[] |
getWaitingTimeBetweenNodeMaintenenceSeconds() |
boolean |
isBehindFirewall() |
boolean |
isStartMaintenance() |
void |
setBagSize(int bagSize) |
void |
setBehindFirewall(boolean behindFirewall) |
void |
setCacheSize(int cacheSize) |
void |
setCacheTimeoutMillis(int cacheTimeoutMillis) |
void |
setDiscoverTimeoutSec(int discoverTimeoutSec) |
void |
setMaxNrBeforeExclude(int maxNrBeforeExclude) |
void |
setReplicationRefreshMillis(int replicationRefreshMillis) |
void |
setStartMaintenance(boolean startMaintenance) |
void |
setTrackerTimoutSeconds(int trackerTimoutSeconds) |
public P2PConfiguration()
public P2PConfiguration(int maintenanceThreads,
int replicationThreads,
boolean startMaintenance)
public int[] getWaitingTimeBetweenNodeMaintenenceSeconds()
public int getMaintenanceThreads()
public void setStartMaintenance(boolean startMaintenance)
public boolean isStartMaintenance()
public void setBagSize(int bagSize)
public int getBagSize()
public void setCacheSize(int cacheSize)
public int getCacheSize()
public void setCacheTimeoutMillis(int cacheTimeoutMillis)
public int getCacheTimeoutMillis()
public int getReplicationThreads()
public void setReplicationRefreshMillis(int replicationRefreshMillis)
public int getReplicationRefreshMillis()
public void setDiscoverTimeoutSec(int discoverTimeoutSec)
public int getDiscoverTimeoutSec()
public void setMaxNrBeforeExclude(int maxNrBeforeExclude)
public int getMaxNrBeforeExclude()
public void setBehindFirewall(boolean behindFirewall)
public boolean isBehindFirewall()
public int getTrackerTimoutSeconds()
public void setTrackerTimoutSeconds(int trackerTimoutSeconds)
Copyright © 2011. All Rights Reserved.