Show / Hide Table of Contents

Interface IPileStatus

Provides information about the pile - number of objects, allocated bytes, etc.

Namespace: NFX.ApplicationModel.Pile
Assembly: NFX.dll
Syntax
public interface IPileStatus

Properties

AllocatedMemoryBytes

Returns the number of bytes allocated by this pile from system memory

Declaration
long AllocatedMemoryBytes { get; }
Property Value
Type Description
System.Int64

Identity

Returns a node-global ID of this pile instance

Declaration
int Identity { get; }
Property Value
Type Description
System.Int32

Locality

Returns whether pile is local or distributed

Declaration
LocalityKind Locality { get; }
Property Value
Type Description
LocalityKind

MemoryCapacityBytes

Returns an approximate capacity of free memory that the system has left

Declaration
long MemoryCapacityBytes { get; }
Property Value
Type Description
System.Int64

NodeCount

Returns the number of nodes(servers) that service this distributed pile. If this pile locality is local then returns 1

Declaration
int NodeCount { get; }
Property Value
Type Description
System.Int32

ObjectCount

Returns the number of allocated objects in this pile

Declaration
long ObjectCount { get; }
Property Value
Type Description
System.Int64

ObjectLinkCount

Returns the number of allocated object links in this pile. Links are used to chain existing location to another one when larger payload does not fit at the progonal location

Declaration
long ObjectLinkCount { get; }
Property Value
Type Description
System.Int64

OverheadBytes

Returns the number of extra bytes used by pile metadata currently occupied by object stored in this pile

Declaration
long OverheadBytes { get; }
Property Value
Type Description
System.Int64

Persistence

Returns the model of object persistence that this pile supports

Declaration
ObjectPersistence Persistence { get; }
Property Value
Type Description
ObjectPersistence

SegmentCount

Returns the number of segments allocated

Declaration
long SegmentCount { get; }
Property Value
Type Description
System.Int64

SupportsObjectExpiration

Returns whether this instance supports object expiration

Declaration
bool SupportsObjectExpiration { get; }
Property Value
Type Description
System.Boolean

UtilizedBytes

Returns the number of bytes allocated for object storage within AllocatedMemoryBytes

Declaration
long UtilizedBytes { get; }
Property Value
Type Description
System.Int64

Extension Methods

MiscUtils.NonNull<T>(T, Func<Exception>, String)
ObjectValueConversion.AsString(Object, String, ConvertErrorHandling)
ObjectValueConversion.AsNonNullOrEmptyString(Object)
ObjectValueConversion.AsLaconicConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsJSONConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsXMLConfig(Object, ConfigSectionNode, ConvertErrorHandling)
ObjectValueConversion.AsChar(Object, Char, ConvertErrorHandling)
ObjectValueConversion.AsNullableChar(Object, Nullable<Char>, ConvertErrorHandling)
ObjectValueConversion.AsByte(Object, Byte, ConvertErrorHandling)
ObjectValueConversion.AsNullableByte(Object, Nullable<Byte>, ConvertErrorHandling)
ObjectValueConversion.AsSByte(Object, SByte, ConvertErrorHandling)
ObjectValueConversion.AsNullableSByte(Object, Nullable<SByte>, ConvertErrorHandling)
ObjectValueConversion.AsShort(Object, Int16, ConvertErrorHandling)
ObjectValueConversion.AsNullableShort(Object, Nullable<Int16>, ConvertErrorHandling)
ObjectValueConversion.AsUShort(Object, UInt16, ConvertErrorHandling)
ObjectValueConversion.AsNullableUShort(Object, Nullable<UInt16>, ConvertErrorHandling)
ObjectValueConversion.AsInt(Object, Int32, ConvertErrorHandling)
ObjectValueConversion.AsNullableInt(Object, Nullable<Int32>, ConvertErrorHandling)
ObjectValueConversion.AsUInt(Object, UInt32, ConvertErrorHandling)
ObjectValueConversion.AsNullableUInt(Object, Nullable<UInt32>, ConvertErrorHandling)
ObjectValueConversion.AsLong(Object, Int64, ConvertErrorHandling)
ObjectValueConversion.AsNullableLong(Object, Nullable<Int64>, ConvertErrorHandling)
ObjectValueConversion.AsULong(Object, UInt64, ConvertErrorHandling)
ObjectValueConversion.AsNullableULong(Object, Nullable<UInt64>, ConvertErrorHandling)
ObjectValueConversion.AsDouble(Object, Double, ConvertErrorHandling)
ObjectValueConversion.AsNullableDouble(Object, Nullable<Double>, ConvertErrorHandling)
ObjectValueConversion.AsFloat(Object, Single, ConvertErrorHandling)
ObjectValueConversion.AsNullableFloat(Object, Nullable<Single>, ConvertErrorHandling)
ObjectValueConversion.AsDecimal(Object, Decimal, ConvertErrorHandling)
ObjectValueConversion.AsNullableDecimal(Object, Nullable<Decimal>, ConvertErrorHandling)
ObjectValueConversion.AsBool(Object, Boolean, ConvertErrorHandling)
ObjectValueConversion.AsNullableBool(Object, Nullable<Boolean>, ConvertErrorHandling)
ObjectValueConversion.AsGUID(Object, Guid, ConvertErrorHandling)
ObjectValueConversion.AsNullableGUID(Object, Nullable<Guid>, ConvertErrorHandling)
ObjectValueConversion.AsDateTime(Object)
ObjectValueConversion.AsDateTime(Object, DateTime, ConvertErrorHandling)
ObjectValueConversion.AsNullableDateTime(Object, Nullable<DateTime>, ConvertErrorHandling)
ObjectValueConversion.AsGDID(Object)
ObjectValueConversion.AsGDID(Object, GDID, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDID(Object, Nullable<GDID>, ConvertErrorHandling)
ObjectValueConversion.AsGDIDSymbol(Object)
ObjectValueConversion.AsGDIDSymbol(Object, GDIDSymbol, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDIDSymbol(Object, Nullable<GDIDSymbol>, ConvertErrorHandling)
ObjectValueConversion.AsTimeSpan(Object)
ObjectValueConversion.AsTimeSpan(Object, TimeSpan, ConvertErrorHandling)
ObjectValueConversion.AsNullableTimeSpan(Object, Nullable<TimeSpan>, ConvertErrorHandling)
ObjectValueConversion.AsEnum<TEnum>(Object, TEnum, ConvertErrorHandling)
ObjectValueConversion.AsNullableEnum<TEnum>(Object, Nullable<TEnum>, ConvertErrorHandling)
ObjectValueConversion.AsUri(Object, Uri, ConvertErrorHandling)
JSONExtensions.ToJSON(Object, JSONWritingOptions)
JSONExtensions.ToJSON(Object, TextWriter, JSONWritingOptions)
JSONExtensions.ToJSON(Object, Stream, JSONWritingOptions, Encoding)
ErlObject.ToErlObject(Object)
ErlObject.ToErlObject(Object, ErlTypeOrder, Boolean)
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX