Package | Description |
---|---|
org.glassfish.grizzly | |
org.glassfish.grizzly.attributes | |
org.glassfish.grizzly.nio | |
org.glassfish.grizzly.utils |
Modifier and Type | Method and Description |
---|---|
<E> E |
Connection.obtainProcessorState(Processor processor,
NullaryFunction<E> factory)
Returns the
Processor state associated with this Connection. |
Modifier and Type | Method and Description |
---|---|
<T> Attribute<T> |
DefaultAttributeBuilder.createAttribute(String name,
NullaryFunction<T> initializer)
Create Attribute with name and initializer, which will be called, if
Attribute's value is null on a AttributedObject
|
<T> Attribute<T> |
AttributeBuilder.createAttribute(String name,
NullaryFunction<T> initializer)
Create Attribute with name and initializer, which will be called, if
Attribute's value is null on a AttributedObject
|
Object |
IndexedAttributeHolder.IndexedAttributeAccessorImpl.getAttribute(int index,
NullaryFunction initializer)
Internal method for dynamic attribute support.
|
Object |
IndexedAttributeAccessor.getAttribute(int index,
NullaryFunction initializer)
Internal method for dynamic attribute support.
|
Object |
IndexedAttributeHolder.getAttribute(String name,
NullaryFunction initializer)
Return an object based on a name.
|
Object |
AttributeHolder.getAttribute(String name,
NullaryFunction initializer)
Return an object based on a name.
|
Constructor and Description |
---|
Attribute(AttributeBuilder builder,
String name,
int index,
NullaryFunction<T> initializer) |
Modifier and Type | Method and Description |
---|---|
<E> E |
NIOConnection.obtainProcessorState(Processor processor,
NullaryFunction<E> factory) |
Modifier and Type | Method and Description |
---|---|
static <T> Holder.LazyHolder<T> |
Holder.lazyHolder(NullaryFunction<T> factory) |
static Holder.LazyIntHolder |
Holder.lazyIntHolder(NullaryFunction<Integer> factory) |
Copyright © 2015 Oracle Corporation. All rights reserved.