Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
P
- Pair<K,
L> - Class in org.glassfish.grizzly.utils -
Key : Value pair implementation.
- Pair() - Constructor for class org.glassfish.grizzly.utils.Pair
- Pair(K, L) - Constructor for class org.glassfish.grizzly.utils.Pair
- parseWithLengthPrefix(AttributeStorage, Buffer) - Method in class org.glassfish.grizzly.utils.StringDecoder
- parseWithTerminatingSeq(AttributeStorage, Buffer) - Method in class org.glassfish.grizzly.utils.StringDecoder
- patternFilterChain - Variable in class org.glassfish.grizzly.filterchain.FilterChainBuilder
- pause() - Method in class org.glassfish.grizzly.nio.NIOTransport
-
Pause UDPNIOTransport, so I/O events coming on its
UDPNIOConnection
s will not be processed. - pause() - Method in interface org.glassfish.grizzly.Transport
-
Pauses the transport
- PAUSED - Enum constant in enum class org.glassfish.grizzly.Transport.State
- PAUSING - Enum constant in enum class org.glassfish.grizzly.Transport.State
- PAYLOAD - Enum constant in enum class org.glassfish.grizzly.compression.zip.GZipDecoder.DecodeStatus
- peek() - Method in class org.glassfish.grizzly.asyncqueue.TaskQueue
-
Get the current processing task, if the current in not set, take the task from the queue.
- peek(AttributeHolder) - Method in class org.glassfish.grizzly.attributes.Attribute
-
Get attribute value, stored on the
AttributeHolder
, the difference fromAttribute.get(org.glassfish.grizzly.attributes.AttributeHolder)
is that default value orSupplier
won't be invoked. - peek(AttributeStorage) - Method in class org.glassfish.grizzly.attributes.Attribute
-
Get attribute value, stored on the
AttributeStorage
, the difference fromAttribute.get(AttributeStorage)
is that default value orSupplier
won't be invoked. - PendingWriteQueueLimitExceededException - Exception in org.glassfish.grizzly
-
Thrown when an attempt is made to add a record that exceeds the configured maximum queue size.
- PendingWriteQueueLimitExceededException() - Constructor for exception org.glassfish.grizzly.PendingWriteQueueLimitExceededException
- PendingWriteQueueLimitExceededException(String) - Constructor for exception org.glassfish.grizzly.PendingWriteQueueLimitExceededException
- phrase - Variable in class org.glassfish.grizzly.ssl.SSLSupport.CipherData
- poison - Static variable in class org.glassfish.grizzly.threadpool.AbstractThreadPool
- poisonAll() - Method in class org.glassfish.grizzly.threadpool.AbstractThreadPool
- poisonAll() - Method in class org.glassfish.grizzly.threadpool.SyncThreadPool
- poll() - Method in class org.glassfish.grizzly.asyncqueue.TaskQueue
-
Pools the current processing task.
- poll() - Method in class org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorPool
- poll() - Method in interface org.glassfish.grizzly.utils.ObjectPool
- PoolableObject - Interface in org.glassfish.grizzly.utils
- PooledMemoryManager - Class in org.glassfish.grizzly.memory
-
A
MemoryManager
implementation based on a series of shared memory pools. - PooledMemoryManager() - Constructor for class org.glassfish.grizzly.memory.PooledMemoryManager
-
Creates a new
PooledMemoryManager
using the following defaults: 4 KiB base buffer size 3 pools 2 growth factor, which means 1st pool will contain buffers of size 4KiB, the 2nd - 16KiB, the 3rd - 64KiB Number of pool slices based onRuntime.getRuntime().availableProcessors()
The initial allocation will use 3% of the heap The percentage of buffers to be pre-allocated during MemoryManager initialization - PooledMemoryManager(boolean) - Constructor for class org.glassfish.grizzly.memory.PooledMemoryManager
-
Creates a new
PooledMemoryManager
using the specified parameters for configuration. - PooledMemoryManager(int, int, int, int, float, float, boolean) - Constructor for class org.glassfish.grizzly.memory.PooledMemoryManager
-
Creates a new
PooledMemoryManager
using the specified parameters for configuration. - poolName - Variable in class org.glassfish.grizzly.threadpool.ThreadPoolConfig
- PortRange - Class in org.glassfish.grizzly
-
Immutable class representing a port range.
- PortRange(int) - Constructor for class org.glassfish.grizzly.PortRange
-
Creates a port range containing a single port.
- PortRange(int, int) - Constructor for class org.glassfish.grizzly.PortRange
-
Creates a port range with the given bounds (both inclusive).
- pos - Variable in class org.glassfish.grizzly.memory.HeapBuffer
- position() - Method in interface org.glassfish.grizzly.Buffer
-
Returns this buffer's position.
- position() - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- position() - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- position() - Method in class org.glassfish.grizzly.memory.HeapBuffer
- position(int) - Method in interface org.glassfish.grizzly.Buffer
-
Sets this buffer's position.
- position(int) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- position(int) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- position(int) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- posState - Variable in class org.glassfish.grizzly.compression.lzma.LZMADecoder.LZMAInputState
- postConfigure(NIOTransport, SelectableChannel) - Method in interface org.glassfish.grizzly.nio.ChannelConfigurator
-
This method is called by a
NIOTransport
to configure newly createdSelectableChannel
once it's been connected/accepted and become ready to use. - postpone() - Method in class org.glassfish.grizzly.nio.SelectorRunner
- postSelect(SelectorRunner) - Method in class org.glassfish.grizzly.nio.DefaultSelectorHandler
- postSelect(SelectorRunner) - Method in interface org.glassfish.grizzly.nio.SelectorHandler
- preClose() - Method in class org.glassfish.grizzly.nio.NIOConnection
- preClose() - Method in class org.glassfish.grizzly.nio.transport.TCPNIOConnection
- preClose() - Method in class org.glassfish.grizzly.nio.transport.TCPNIOServerConnection
- preClose() - Method in class org.glassfish.grizzly.nio.transport.UDPNIOServerConnection
- preConfigure(Connection) - Method in class org.glassfish.grizzly.AbstractSocketConnectorHandler
-
Pre-configures
Connection
object before actual connecting phase will be started. - preConfigure(NIOTransport, SelectableChannel) - Method in interface org.glassfish.grizzly.nio.ChannelConfigurator
-
This method is called by a
NIOTransport
to configure newly createdSelectableChannel
at the very early stage, right after the object has been created. - preloadAllCharsets() - Static method in class org.glassfish.grizzly.utils.Charsets
-
Preloads all
Charset
s available to the JMV, which makes charset searching faster (at the cost of memory). - prepare() - Method in class org.glassfish.grizzly.utils.Pair
- prepare() - Method in interface org.glassfish.grizzly.utils.PoolableObject
- prepareDispose() - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- prepareDispose() - Method in class org.glassfish.grizzly.memory.HeapBuffer
- prepend(Buffer) - Method in interface org.glassfish.grizzly.Buffer
-
Prepend data from header.position() to header.limit() to the current buffer.
- prepend(Buffer) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- prepend(Buffer) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- prepend(Buffer) - Method in class org.glassfish.grizzly.memory.CompositeBuffer
- prepend(Buffer) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- prepend(Buffer) - Method in class org.glassfish.grizzly.streams.BufferedInput
- preSelect(SelectorRunner) - Method in class org.glassfish.grizzly.nio.DefaultSelectorHandler
- preSelect(SelectorRunner) - Method in interface org.glassfish.grizzly.nio.SelectorHandler
- prevByte - Variable in class org.glassfish.grizzly.compression.lzma.LZMADecoder.LZMAInputState
- previousFilterIdx() - Method in class org.glassfish.grizzly.filterchain.FilterChainContext
- priority - Variable in class org.glassfish.grizzly.threadpool.ThreadPoolConfig
- probe(ConnectionProbe) - Method in class org.glassfish.grizzly.AbstractSocketConnectorHandler.Builder
- probes - Variable in class org.glassfish.grizzly.AbstractSocketConnectorHandler
- process(E) - Method in interface org.glassfish.grizzly.Processor
-
Method will be called by framework to process some event, which occurred on a connection
- process(Context) - Method in class org.glassfish.grizzly.filterchain.DefaultFilterChain
- process(Context) - Method in class org.glassfish.grizzly.StandaloneProcessor
-
This method should never be called, because
StandaloneProcessor.isInterested(IOEvent)
returns false for anyIOEvent
. - processAsync(Context) - Method in interface org.glassfish.grizzly.asyncqueue.AsyncQueue
-
Callback method, which is called async.
- processAsync(Context) - Method in class org.glassfish.grizzly.nio.AbstractNIOAsyncQueueReader
-
Callback method, which is called async.
- processAsync(Context) - Method in class org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter
-
Callback method, which is called async.
- processByte(byte, CompositeBuffer.Setter) - Method in interface org.glassfish.grizzly.memory.CompositeBuffer.BulkOperation
-
Method is responsible to examine/change one single Buffer's byte.
- processor - Variable in class org.glassfish.grizzly.AbstractBindingHandler.Builder
- processor - Variable in class org.glassfish.grizzly.AbstractBindingHandler
- processor - Variable in class org.glassfish.grizzly.AbstractSocketConnectorHandler.Builder
- processor - Variable in class org.glassfish.grizzly.AbstractTransport
-
Transport default Processor
- processor - Variable in class org.glassfish.grizzly.nio.NIOConnection
- processor - Variable in class org.glassfish.grizzly.NIOTransportBuilder
- processor(Processor) - Method in class org.glassfish.grizzly.AbstractBindingHandler.Builder
- processor(Processor) - Method in class org.glassfish.grizzly.AbstractSocketConnectorHandler.Builder
- Processor<E extends Context> - Interface in org.glassfish.grizzly
-
Processor implementations are responsible for processing I/O events, which occur on connection.
- ProcessorExecutor - Class in org.glassfish.grizzly
- ProcessorExecutor() - Constructor for class org.glassfish.grizzly.ProcessorExecutor
- ProcessorResult - Class in org.glassfish.grizzly
-
The interface represents the result of
Processor
execution. - ProcessorResult.Status - Enum Class in org.glassfish.grizzly
-
Enumeration represents the status/code of
ProcessorResult
. - processorSelector - Variable in class org.glassfish.grizzly.AbstractBindingHandler.Builder
- processorSelector - Variable in class org.glassfish.grizzly.AbstractBindingHandler
- processorSelector - Variable in class org.glassfish.grizzly.AbstractSocketConnectorHandler.Builder
- processorSelector - Variable in class org.glassfish.grizzly.AbstractTransport
-
Transport default ProcessorSelector
- processorSelector - Variable in class org.glassfish.grizzly.nio.NIOConnection
- processorSelector - Variable in class org.glassfish.grizzly.NIOTransportBuilder
- processorSelector(ProcessorSelector) - Method in class org.glassfish.grizzly.AbstractBindingHandler.Builder
- processorSelector(ProcessorSelector) - Method in class org.glassfish.grizzly.AbstractSocketConnectorHandler.Builder
- ProcessorSelector - Interface in org.glassfish.grizzly
-
Implementations of the interface will be responsible to find correct
Processor
, which will processIOEvent
, occurred on theConnection
- PushBackContext - Class in org.glassfish.grizzly.asyncqueue
-
Deprecated.push back logic is deprecated.
- PushBackContext(AsyncWriteQueueRecord) - Constructor for class org.glassfish.grizzly.asyncqueue.PushBackContext
-
Deprecated.
- PushBackHandler - Interface in org.glassfish.grizzly.asyncqueue
-
Deprecated.push back logic is deprecated.
- put(byte) - Method in interface org.glassfish.grizzly.Buffer
-
Relative put method (optional operation).
- put(byte) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- put(byte) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- put(byte) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- put(byte[]) - Method in interface org.glassfish.grizzly.Buffer
-
Relative bulk put method (optional operation).
- put(byte[]) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- put(byte[]) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- put(byte[]) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- put(byte[], int, int) - Method in interface org.glassfish.grizzly.Buffer
-
Relative bulk put method (optional operation).
- put(byte[], int, int) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- put(byte[], int, int) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- put(byte[], int, int) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- put(byte[], int, int, ByteBuffer) - Static method in class org.glassfish.grizzly.memory.Buffers
- put(int, byte) - Method in interface org.glassfish.grizzly.Buffer
-
Absolute put method (optional operation).
- put(int, byte) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- put(int, byte) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- put(int, byte) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- put(Object) - Method in class org.glassfish.grizzly.ThreadCache.ObjectCacheElement
- put(ByteBuffer) - Method in interface org.glassfish.grizzly.Buffer
-
Relative bulk put method (optional operation).
- put(ByteBuffer) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- put(ByteBuffer) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- put(ByteBuffer) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- put(ByteBuffer, int, int) - Method in interface org.glassfish.grizzly.Buffer
-
Relative bulk put method (optional operation).
- put(ByteBuffer, int, int) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- put(ByteBuffer, int, int) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- put(ByteBuffer, int, int) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- put(ByteBuffer, int, int, ByteBuffer) - Static method in class org.glassfish.grizzly.memory.Buffers
- put(Buffer) - Method in interface org.glassfish.grizzly.Buffer
-
Relative bulk put method (optional operation).
- put(Buffer) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- put(Buffer) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- put(Buffer) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- put(Buffer, int, int) - Method in interface org.glassfish.grizzly.Buffer
-
Relative bulk put method (optional operation).
- put(Buffer, int, int) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- put(Buffer, int, int) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- put(Buffer, int, int) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- put(Buffer, int, int, Buffer) - Static method in class org.glassfish.grizzly.memory.Buffers
- put(ThreadCache.CachedTypeIndex, Object) - Method in class org.glassfish.grizzly.ThreadCache.ObjectCache
- put8BitString(String) - Method in interface org.glassfish.grizzly.Buffer
-
Relative bulk put method (optional operation).
- put8BitString(String) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- put8BitString(String) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- put8BitString(String) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putByte(byte) - Method in class org.glassfish.grizzly.compression.lzma.impl.lz.OutWindow
- putChar(char) - Method in interface org.glassfish.grizzly.Buffer
-
Relative put method for writing a char value (optional operation).
- putChar(char) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putChar(char) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putChar(char) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putChar(int, char) - Method in interface org.glassfish.grizzly.Buffer
-
Absolute put method for writing a char value (optional operation).
- putChar(int, char) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putChar(int, char) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putChar(int, char) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putDouble(double) - Method in interface org.glassfish.grizzly.Buffer
-
Relative put method for writing a double value (optional operation).
- putDouble(double) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putDouble(double) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putDouble(double) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putDouble(int, double) - Method in interface org.glassfish.grizzly.Buffer
-
Absolute put method for writing a double value (optional operation).
- putDouble(int, double) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putDouble(int, double) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putDouble(int, double) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putFloat(float) - Method in interface org.glassfish.grizzly.Buffer
-
Relative put method for writing a float value (optional operation).
- putFloat(float) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putFloat(float) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putFloat(float) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putFloat(int, float) - Method in interface org.glassfish.grizzly.Buffer
-
Absolute put method for writing a float value (optional operation).
- putFloat(int, float) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putFloat(int, float) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putFloat(int, float) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putInt(int) - Method in interface org.glassfish.grizzly.Buffer
-
Relative put method for writing an int value (optional operation).
- putInt(int) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putInt(int) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putInt(int) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putInt(int, int) - Method in interface org.glassfish.grizzly.Buffer
-
Absolute put method for writing an int value (optional operation).
- putInt(int, int) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putInt(int, int) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putInt(int, int) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putLong(int, long) - Method in interface org.glassfish.grizzly.Buffer
-
Absolute put method for writing a long value (optional operation).
- putLong(int, long) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putLong(int, long) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putLong(int, long) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putLong(long) - Method in interface org.glassfish.grizzly.Buffer
-
Relative put method for writing a long value (optional operation).
- putLong(long) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putLong(long) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putLong(long) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putShort(int, short) - Method in interface org.glassfish.grizzly.Buffer
-
Absolute put method for writing a short value (optional operation).
- putShort(int, short) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putShort(int, short) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putShort(int, short) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putShort(short) - Method in interface org.glassfish.grizzly.Buffer
-
Relative put method for writing a short value (optional operation).
- putShort(short) - Method in class org.glassfish.grizzly.memory.BuffersBuffer
- putShort(short) - Method in class org.glassfish.grizzly.memory.ByteBufferWrapper
- putShort(short) - Method in class org.glassfish.grizzly.memory.HeapBuffer
- putToArray(ByteBuffer) - Method in class org.glassfish.grizzly.nio.DirectByteBufferRecord
- putToCache(Thread, ThreadCache.CachedTypeIndex<E>, E) - Static method in class org.glassfish.grizzly.ThreadCache
- putToCache(ThreadCache.CachedTypeIndex<E>, E) - Static method in class org.glassfish.grizzly.ThreadCache
- putToCache(ThreadCache.CachedTypeIndex<E>, E) - Method in class org.glassfish.grizzly.threadpool.DefaultWorkerThread
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form