Class BondSerializerBase
Base class for Bond based serializers
Inheritance
BondSerializerBase
Inherited Members
Namespace:CacheManager.Serialization.Bond
Assembly:CacheManager.Serialization.Bond.dll
Syntax
public abstract class BondSerializerBase : CacheSerializer, ICacheSerializer
Constructors
| Improve this Doc View SourceBondSerializerBase()
Initializes a new instance of the BondSerializerBase class.
Declaration
public BondSerializerBase()
BondSerializerBase(Int32)
Initializes a new instance of the BondSerializerBase class.
Declaration
public BondSerializerBase(int defaultBufferSize)
Parameters
Type | Name | Description |
---|---|---|
Int32 | defaultBufferSize | The default buffer size. |
Properties
| Improve this Doc View SourceOutputBufferPool
Gets a pool handling Bond.IO.Unsafe.OutputBuffers.
Declaration
[CLSCompliant(false)]
protected ObjectPool<OutputBuffer> OutputBufferPool { get; }
Property Value
Type | Description |
---|---|
ObjectPool<Bond.IO.Unsafe.OutputBuffer> |
StringBuilderPool
Gets a pool handling StringBuilders.
Declaration
protected ObjectPool<StringBuilder> StringBuilderPool { get; }
Property Value
Type | Description |
---|---|
ObjectPool<StringBuilder> |
Methods
| Improve this Doc View SourceCreateNewItem<TCacheValue>(ICacheItemProperties, Object)
Declaration
protected override object CreateNewItem<TCacheValue>(ICacheItemProperties properties, object value)
Parameters
Type | Name | Description |
---|---|---|
ICacheItemProperties | properties | |
Object | value |
Returns
Type | Description |
---|---|
Object |
Type Parameters
Name | Description |
---|---|
TCacheValue |
Overrides
| Improve this Doc View SourceGetOpenGeneric()
Declaration
protected override Type GetOpenGeneric()
Returns
Type | Description |
---|---|
Type |