001 /* 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, 013 * software distributed under the License is distributed on an 014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 * KIND, either express or implied. See the License for the 016 * specific language governing permissions and limitations 017 * under the License. 018 */ 019 package org.apache.geronimo.tomcat.connector; 020 021 public interface Http11NIOProtocol { 022 023 public boolean getUseSendfile(); 024 public void setUseSendfile(boolean useSendfile); 025 public boolean getUseExecutor(); 026 public void setUseExecutor(boolean useExecutor); 027 public int getAcceptorThreadCount(); 028 public void setAcceptorThreadCount(int acceptorThreadCount); 029 public int getAcceptorThreadPriority(); 030 public void setAcceptorThreadPriority(int acceptorThreadPriority); 031 public int getPollerThreadCount(); 032 public void setPollerThreadCount(int pollerThreadCount); 033 public int getPollerThreadPriority(); 034 public void setPollerThreadPriority(int pollerThreadPriority); 035 public int getSelectorTimeout(); 036 public void setSelectorTimeout(int selectorTimeout); 037 public boolean getUseComet(); 038 public void setUseComet(boolean useComet); 039 public int getProcessCache(); 040 public void setProcessCache(int processCache); 041 public boolean getSocket_directBuffer(); 042 public void setSocket_directBuffer(boolean socket_directBuffer); 043 public int getSocket_rxBufSize(); 044 public void setSocket_rxBufSize(int socket_rxBufSize); 045 public int getSocket_txBufSize(); 046 public void setSocket_txBufSize(int socket_txBufSize); 047 public int getSocket_appReadBufSize(); 048 public void setSocket_appReadBufSize(int socket_appReadBufSize); 049 public int getSocket_appWriteBufSize(); 050 public void setSocket_appWriteBufSize(int socket_appWriteBufSize); 051 public int getSocket_bufferPool(); 052 public void setSocket_bufferPool(int socket_bufferPool); 053 public int getSocket_bufferPoolSize(); 054 public void setSocket_bufferPoolSize(int socket_bufferPoolSize); 055 public int getSocket_processorCache(); 056 public void setSocket_processorCache(int socket_processorCache); 057 public int getSocket_keyCache(); 058 public void setSocket_keyCache(int socket_keyCache); 059 public int getSocket_eventCache(); 060 public void setSocket_eventCache(int socket_eventCache); 061 public boolean getSocket_tcpNoDelay(); 062 public void setSocket_tcpNoDelay(boolean socket_tcpNoDelay); 063 public boolean getSocket_soKeepAlive(); 064 public void setSocket_soKeepAlive(boolean socket_soKeepAlive); 065 public boolean getSocket_ooBInline(); 066 public void setSocket_ooBInline(boolean socket_ooBInline); 067 public boolean getSocket_soReuseAddress(); 068 public void setSocket_soReuseAddress(boolean socket_soReuseAddress); 069 public boolean getSocket_soLingerOn(); 070 public void setSocket_soLingerOn(boolean socket_soLingerOn); 071 public int getSocket_soLingerTime(); 072 public void setSocket_soLingerTime(int socket_soLingerTime); 073 public int getSocket_soTimeout(); 074 public void setSocket_soTimeout(int socket_soTimeout); 075 public int getSocket_soTrafficClass(); 076 public void setSocket_soTrafficClass(int socket_soTrafficClass); 077 public int getSocket_performanceConnectionTime(); 078 public void setSocket_performanceConnectionTime(int socket_performanceConnectionTime); 079 public int getSocket_performanceLatency(); 080 public void setSocket_performanceLatency(int socket_performanceLatency); 081 public int getSocket_performanceBandwidth(); 082 public void setSocket_performanceBandwidth(int socket_performanceBandwidth); 083 public int getSelectorPool_maxSelectors(); 084 public void setSelectorPool_maxSelectors(int selectorPool_maxSelectors); 085 public int getSelectorPool_maxSpareSelectors(); 086 public void setSelectorPool_maxSpareSelectors(int selectorPool_maxSpareSelectors); 087 public boolean getCommand_line_options(); 088 public void setCommand_line_options(boolean command_line_options); 089 public int getOomParachute(); 090 public void setOomParachute(int oomParachute); 091 092 }