mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.3-BUG-FIX to HEAD
22123: Fixed NFS path to handle conversion not supporting folder paths. ALF-4462. 22167: ALF-4557: Use batching on population of alf_locale table on upgrade from 2.x on MySQL 22169: Merge V3.3-BUG-FIX-2010_07_13 to V3.3-BUG-FIX 21554 : ALF-2339 - Can not handle the load if a lot of mails arriving a the same time. 22173: Merge from V3.3-BUG-FIX_2010_06_24 to V3.3-BUG-FIX 20976: ALF-2793 IMAP thunderbird takes ages to display the new contents of a folder. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -44,6 +44,7 @@ public abstract class EmailServer extends AbstractLifecycleBean
|
||||
private boolean enabled;
|
||||
private String domain;
|
||||
private int port;
|
||||
private int maxConnections;
|
||||
private Set<String> blockedSenders;
|
||||
private Set<String> allowedSenders;
|
||||
|
||||
@@ -58,6 +59,7 @@ public abstract class EmailServer extends AbstractLifecycleBean
|
||||
this.enabled = false;
|
||||
this.port = 25;
|
||||
this.domain = null;
|
||||
this.maxConnections = 3;
|
||||
this.blockedSenders = new HashSet<String>(23);
|
||||
this.allowedSenders = new HashSet<String>(23);
|
||||
}
|
||||
@@ -93,6 +95,24 @@ public abstract class EmailServer extends AbstractLifecycleBean
|
||||
this.port = port;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the maximum number of connection accepted by the server.
|
||||
* @return the maximum number of connections
|
||||
*/
|
||||
protected int getMaxConnections()
|
||||
{
|
||||
return maxConnections;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the maximum number of connection accepted by the server
|
||||
* @param maxConnections
|
||||
*/
|
||||
public void setMaxConnections(int maxConnections)
|
||||
{
|
||||
this.maxConnections = maxConnections;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the blocked senders as a comma separated list. The entries will be trimmed of
|
||||
* all whitespace.
|
||||
|
Reference in New Issue
Block a user