Class ProtonEngineConfiguration
java.lang.Object
org.apache.qpid.protonj2.engine.impl.ProtonEngineConfiguration
- All Implemented Interfaces:
- EngineConfiguration
Proton engine configuration API
- 
Method SummaryModifier and TypeMethodDescriptionbooleansetBufferAllocator(ProtonBufferAllocator allocator) Sets the ProtonBufferAllocator used by this Engine.setTraceFrames(boolean traceFrames) Enables AMQP frame tracing from engine to the system output.
- 
Method Details- 
getBufferAllocator- Specified by:
- getBufferAllocatorin interface- EngineConfiguration
- Returns:
- the currently assigned ProtonBufferAllocator.
 
- 
setBufferAllocatorDescription copied from interface:EngineConfigurationSets the ProtonBufferAllocator used by this Engine.When copying data, encoding types or otherwise needing to allocate memory storage the Engine will use the assigned ProtonBufferAllocator. If no allocator is assigned the Engine will use the default allocator.- Specified by:
- setBufferAllocatorin interface- EngineConfiguration
- Parameters:
- allocator- The Allocator instance to use from this- Engine.
- Returns:
- this EngineConfigurationfor chaining.
 
- 
setTraceFramesDescription copied from interface:EngineConfigurationEnables AMQP frame tracing from engine to the system output. Depending on the underlying engine composition frame tracing may not be possible in which case this method will have no effect and the access methodEngineConfiguration.isTraceFrames()will return false.- Specified by:
- setTraceFramesin interface- EngineConfiguration
- Parameters:
- traceFrames- true to enable engine frame tracing, false to disable it.
- Returns:
- this EngineConfigurationfor chaining.
 
- 
isTraceFramespublic boolean isTraceFrames()- Specified by:
- isTraceFramesin interface- EngineConfiguration
- Returns:
- true if the engine will emit frames to system output.
 
 
-