| | |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.ServerContext; |
| | | import org.opends.server.core.SynchronousStrategy; |
| | | import org.opends.server.core.WorkQueueStrategy; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.FilePermission; |
| | | import org.opends.server.types.InitializationException; |
| | |
| | | /** 5 Mb. */ |
| | | private static final int ADMIN_MAX_REQUEST_SIZE = 5000000; |
| | | private static final int ADMIN_WRITE_BUFFER_SIZE = 4096; |
| | | private static final int ADMIN_NUM_REQUEST_HANDLERS = 1; |
| | | private static final int ADMIN_NUM_REQUEST_HANDLERS = 4; |
| | | private static final boolean ADMIN_SEND_REJECTION_NOTICE = true; |
| | | private static final boolean ADMIN_USE_TCP_KEEP_ALIVE = true; |
| | | private static final boolean ADMIN_USE_TCP_NO_DELAY = true; |
| | |
| | | |
| | | // Administration Connector uses the LDAP connection handler implementation |
| | | adminConnectionHandler = new LDAPConnectionHandler2( |
| | | new SynchronousStrategy(), FRIENDLY_NAME); |
| | | new WorkQueueStrategy(), FRIENDLY_NAME); |
| | | adminConnectionHandler.initializeConnectionHandler(serverContext, new LDAPConnectionCfgAdapter(config)); |
| | | adminConnectionHandler.setAdminConnectionHandler(); |
| | | |