public class FIStaxOutInterceptor extends AbstractPhaseInterceptor<Message>
Modifier and Type | Field and Description |
---|---|
static String |
FI_ENABLED |
Constructor and Description |
---|
FIStaxOutInterceptor() |
FIStaxOutInterceptor(boolean f) |
Modifier and Type | Method and Description |
---|---|
Integer |
getSerializerAttributeValueMapMemoryLimit() |
Integer |
getSerializerCharacterContentChunkMapMemoryLimit() |
Integer |
getSerializerMaxAttributeValueSize() |
Integer |
getSerializerMaxCharacterContentChunkSize() |
Integer |
getSerializerMinAttributeValueSize() |
Integer |
getSerializerMinCharacterContentChunkSize() |
void |
handleFault(Message message)
Called for all interceptors (in reverse order) on which handleMessage
had been successfully invoked, when normal execution of the chain was
aborted for some reason.
|
void |
handleMessage(Message message)
Intercepts a message.
|
void |
setSerializerAttributeValueMapMemoryLimit(Integer serializerAttributeValueMapMemoryLimit)
Sets the property
attributeValueMapMemoryLimit on FastInfoset StAX Serializers created and used
by this interceptor. |
void |
setSerializerCharacterContentChunkMapMemoryLimit(Integer serializerCharacterContentChunkMapMemoryLimit)
Sets the property
characterContentChunkMapMemoryLimit on FastInfoset StAX Serializers created and
used by this interceptor. |
void |
setSerializerMaxAttributeValueSize(Integer serializerMaxAttributeValueSize)
Sets the property
maxAttributeValueSize on FastInfoset StAX Serializers created and used
by this interceptor. |
void |
setSerializerMaxCharacterContentChunkSize(Integer serializerMaxCharacterContentChunkSize)
Sets the property
maxCharacterContentChunkSize on FastInfoset StAX Serializers created and used
by this interceptor. |
void |
setSerializerMinAttributeValueSize(Integer serializerMinAttributeValueSize)
Sets the property
minAttributeValueSize on FastInfoset StAX Serializers created and used
by this interceptor. |
void |
setSerializerMinCharacterContentChunkSize(Integer serializerMinCharacterContentChunkSize)
Sets the property
minCharacterContentChunkSize on FastInfoset StAX Serializers created and used
by this interceptor. |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
public static final String FI_ENABLED
public FIStaxOutInterceptor()
public FIStaxOutInterceptor(boolean f)
public void handleFault(Message message)
Interceptor
handleFault
in interface Interceptor<Message>
handleFault
in class AbstractPhaseInterceptor<Message>
public void handleMessage(Message message)
Interceptor
public Integer getSerializerMinAttributeValueSize()
public void setSerializerMinAttributeValueSize(Integer serializerMinAttributeValueSize)
minAttributeValueSize
on FastInfoset StAX Serializers created and used
by this interceptor. The property controls the minimum size of attribute values to be indexed.serializerMinAttributeValueSize
- The minimum size for attribute values to be indexed,
measured as a number of characters. The default is typically 0.public Integer getSerializerMaxAttributeValueSize()
public void setSerializerMaxAttributeValueSize(Integer serializerMaxAttributeValueSize)
maxAttributeValueSize
on FastInfoset StAX Serializers created and used
by this interceptor. The property controls the maximum size of attribute values to be indexed.
Tests have shown that setting this property to lower values reduces CPU burden of processing, at the expense
of larger sizes of resultant encoded Fast Infoset data.serializerMaxAttributeValueSize
- The maximum size for attribute values to be indexed,
measured as a number of characters. The default is typically 32.public Integer getSerializerCharacterContentChunkMapMemoryLimit()
public void setSerializerCharacterContentChunkMapMemoryLimit(Integer serializerCharacterContentChunkMapMemoryLimit)
characterContentChunkMapMemoryLimit
on FastInfoset StAX Serializers created and
used by this interceptor. The property controls character content chunk map size and can be used to control the
memory and (indirectly) CPU footprint of processing.serializerCharacterContentChunkMapMemoryLimit
- The value for the limit, measured as a number of Unicode characters.public Integer getSerializerMinCharacterContentChunkSize()
public void setSerializerMinCharacterContentChunkSize(Integer serializerMinCharacterContentChunkSize)
minCharacterContentChunkSize
on FastInfoset StAX Serializers created and used
by this interceptor. The property controls the minimum size of character content chunks to be indexed.serializerMinCharacterContentChunkSize
- The minimum size for character content chunks to be indexed,
measured as a number of characters. The default is typically 0.public Integer getSerializerMaxCharacterContentChunkSize()
public void setSerializerMaxCharacterContentChunkSize(Integer serializerMaxCharacterContentChunkSize)
maxCharacterContentChunkSize
on FastInfoset StAX Serializers created and used
by this interceptor. The property controls the maximum size of character content chunks to be indexed.
Tests have shown that setting this property to lower values reduces CPU burden of processing, at the expense
of larger sizes of resultant encoded Fast Infoset data.serializerMaxCharacterContentChunkSize
- The maximum size for character content chunks to be indexed,
measured as a number of characters. The default is typically 32.public Integer getSerializerAttributeValueMapMemoryLimit()
public void setSerializerAttributeValueMapMemoryLimit(Integer serializerAttributeValueMapMemoryLimit)
attributeValueMapMemoryLimit
on FastInfoset StAX Serializers created and used
by this interceptor. The property controls attribute value map size and can be used to control
the memory and (indirectly) CPU footprint of processing.serializerAttributeValueMapMemoryLimit
- The value for the limit, measured as a number of Unicode characters.Copyright © 2018 JBoss by Red Hat. All rights reserved.