mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

abobrov
09.20.2009 2bbfdcf54303286798114aee270531f65c9c3a7c
opends/src/server/org/opends/server/admin/AdministrationConnector.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.admin;
@@ -129,6 +129,8 @@
  private static final int ADMIN_MAX_REQUEST_SIZE = 5000000; // 5 Mb
  private static final int ADMIN_WRITE_BUFFER_SIZE = 4096;
  private static final int ADMIN_NUM_REQUEST_HANDLERS = 1;
  private static final boolean ADMIN_SEND_REJECTION_NOTICE = true;
@@ -419,6 +421,16 @@
    /**
     * {@inheritDoc}
     */
    public long getBufferSize()
    {
      return ADMIN_WRITE_BUFFER_SIZE;
    }
    /**
     * {@inheritDoc}
     */
    public int getNumRequestHandlers()
    {
      return ADMIN_NUM_REQUEST_HANDLERS;