示例#1
0
 /// <summary>
 /// Registra os tipos compactos.
 /// </summary>
 public static void RegisterCompactTypes()
 {
     TypeSurrogateSelector.RegisterTypeSurrogate(new ArraySerializationSurrogate(typeof(CacheEntry[])));
     TypeSurrogateSelector.RegisterTypeSurrogate(new ArraySerializationSurrogate(typeof(WriteBehindAsyncProcessor.IWriteBehindTask[])));
     TypeSurrogateSelector.RegisterTypeSurrogate(new CustomArraySerializationSurrogate(typeof(CustomArraySerializationSurrogate)));
     CompactFormatterServices.RegisterCompactType(typeof(CacheEntry), 0x3d);
     CompactFormatterServices.RegisterCompactType(typeof(CounterHint), 0x3e);
     CompactFormatterServices.RegisterCompactType(typeof(TimestampHint), 0x3f);
     CompactFormatterServices.RegisterCompactType(typeof(PriorityEvictionHint), 0x40);
     CompactFormatterServices.RegisterCompactType(typeof(AggregateExpirationHint), 0x44);
     CompactFormatterServices.RegisterCompactType(typeof(IdleExpiration), 0x45);
     CompactFormatterServices.RegisterCompactType(typeof(LockExpiration), 0x87);
     CompactFormatterServices.RegisterCompactType(typeof(FixedExpiration), 70);
     CompactFormatterServices.RegisterCompactType(typeof(KeyDependency), 0x47);
     CompactFormatterServices.RegisterCompactType(typeof(FixedIdleExpiration), 0x48);
     CompactFormatterServices.RegisterCompactType(typeof(DependencyHint), 0x49);
     CompactFormatterServices.RegisterCompactType(typeof(CompactCacheEntry), 0x69);
     CompactFormatterServices.RegisterCompactType(typeof(CallbackEntry), 0x6b);
     CompactFormatterServices.RegisterCompactType(typeof(CallbackInfo), 0x6f);
     CompactFormatterServices.RegisterCompactType(typeof(AsyncCallbackInfo), 0x70);
     CompactFormatterServices.RegisterCompactType(typeof(Colosoft.Caching.Synchronization.CacheSyncDependency), 0x71);
     CompactFormatterServices.RegisterCompactType(typeof(CacheInsResultWithEntry), 0x76);
     CompactFormatterServices.RegisterCompactType(typeof(ExtensibleDependency), 0x77);
     CompactFormatterServices.RegisterCompactType(typeof(WriteThruProviderManager.WriteBehindTask), 120);
     CompactFormatterServices.RegisterCompactType(typeof(WriteThruProviderManager.BulkWriteBehindTask), 0x79);
     CompactFormatterServices.RegisterCompactType(typeof(UserBinaryObject), 0x7d);
 }
示例#2
0
        /// <summary>
        /// Registers types with the Compact Serializatin Framework. Range of reserved
        /// typeHandle is (61 - 1000). 
        /// </summary>
        public static void RegisterCompactTypes()
        {
            TypeSurrogateSelector.RegisterTypeSurrogate(new ArraySerializationSurrogate(typeof(CacheEntry[])));
            TypeSurrogateSelector.RegisterTypeSurrogate(new CustomArraySerializationSurrogate(typeof(CustomArraySerializationSurrogate)));
            CompactFormatterServices.RegisterCompactType(typeof(CacheEntry), 61);
            CompactFormatterServices.RegisterCompactType(typeof(PriorityEvictionHint), 64);
            CompactFormatterServices.RegisterCompactType(typeof(CacheStatistics), 65);
            CompactFormatterServices.RegisterCompactType(typeof(ClusterCacheStatistics), 66);
            CompactFormatterServices.RegisterCompactType(typeof(NodeInfo), 67);
            CompactFormatterServices.RegisterCompactType(typeof(IdleExpiration), 69);
            CompactFormatterServices.RegisterCompactType(typeof(LockExpiration), 135);
            CompactFormatterServices.RegisterCompactType(typeof(FixedExpiration), 70);
            CompactFormatterServices.RegisterCompactType(typeof(CompactCacheEntry), 105);
            CompactFormatterServices.RegisterCompactType(typeof(CallbackEntry), 107);
            CompactFormatterServices.RegisterCompactType(typeof(CallbackInfo), 111);
            CompactFormatterServices.RegisterCompactType(typeof(AsyncCallbackInfo), 112);
            CompactFormatterServices.RegisterCompactType(typeof(BucketStatistics), 117);
            CompactFormatterServices.RegisterCompactType(typeof(CacheInsResultWithEntry), 118);
            CompactFormatterServices.RegisterCompactType(typeof(UserBinaryObject), 125);

            CompactFormatterServices.RegisterCompactType(typeof(VirtualArray), 149);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.Locking.LockManager), 150);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataStructures.DistributionMaps), 160);
            CompactFormatterServices.RegisterCompactType(typeof(EventCacheEntry), 262);
            CompactFormatterServices.RegisterCompactType(typeof(EventContext), 263);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.AutoExpiration.LockMetaInfo), 264);

            CompactFormatterServices.RegisterCompactType(typeof(Function), 75);
            CompactFormatterServices.RegisterCompactType(typeof(AggregateFunction), 76);
            CompactFormatterServices.RegisterCompactType(typeof(PartitionedCacheBase.Identity), 77);
            CompactFormatterServices.RegisterCompactType(typeof(ReplicatedCacheBase.Identity), 78);
            CompactFormatterServices.RegisterCompactType(typeof(StateTxfrInfo), 116);
            CompactFormatterServices.RegisterCompactType(typeof(CompressedValueEntry), 133);

            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.Queries.QueryResultSet), 151);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.OperationContext), 153);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.OperationContext[]), 345);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.EventContext[]), 346);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.OperationID), 163);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.NCacheSessionItem), 129);

            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.ReaderResultSet), 333);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.RecordSet), 334);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.ColumnCollection), 335);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.RowCollection), 336);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.SubsetInfo), 337);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.RecordRow), 338);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.RecordColumn), 339);
        }
示例#3
0
        /// <summary>
        /// Registers types with the Compact Serializatin Framework. Range of reserved
        /// typeHandle is (61 - 1000).
        /// </summary>
        static public void RegisterCompactTypes()
        {
            TypeSurrogateSelector.RegisterTypeSurrogate(new ArraySerializationSurrogate(typeof(CacheEntry[])));
            TypeSurrogateSelector.RegisterTypeSurrogate(new CustomArraySerializationSurrogate(typeof(CustomArraySerializationSurrogate)));
            //WARNING :  From 80 to  are also alredy in use , in different classes.
            CompactFormatterServices.RegisterCompactType(typeof(CacheEntry), 61);
            CompactFormatterServices.RegisterCompactType(typeof(PriorityEvictionHint), 64);
            CompactFormatterServices.RegisterCompactType(typeof(CacheStatistics), 65);
            CompactFormatterServices.RegisterCompactType(typeof(ClusterCacheStatistics), 66);
            CompactFormatterServices.RegisterCompactType(typeof(NodeInfo), 67);
            CompactFormatterServices.RegisterCompactType(typeof(IdleExpiration), 69);
            CompactFormatterServices.RegisterCompactType(typeof(LockExpiration), 135);
            CompactFormatterServices.RegisterCompactType(typeof(FixedExpiration), 70);
            CompactFormatterServices.RegisterCompactType(typeof(CompactCacheEntry), 105);
            CompactFormatterServices.RegisterCompactType(typeof(CallbackEntry), 107);
            CompactFormatterServices.RegisterCompactType(typeof(CallbackInfo), 111);
            CompactFormatterServices.RegisterCompactType(typeof(AsyncCallbackInfo), 112);
            CompactFormatterServices.RegisterCompactType(typeof(BucketStatistics), 117);
            CompactFormatterServices.RegisterCompactType(typeof(CacheInsResultWithEntry), 118);
            CompactFormatterServices.RegisterCompactType(typeof(UserBinaryObject), 125);

            CompactFormatterServices.RegisterCompactType(typeof(VirtualArray), 149);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.Locking.LockManager), 150);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataStructures.DistributionMaps), 160);
            CompactFormatterServices.RegisterCompactType(typeof(EventCacheEntry), 262);
            CompactFormatterServices.RegisterCompactType(typeof(EventContext), 263);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.AutoExpiration.LockMetaInfo), 264);
#if !CLIENT
            CompactFormatterServices.RegisterCompactType(typeof(Function), 75);
            CompactFormatterServices.RegisterCompactType(typeof(AggregateFunction), 76);
            CompactFormatterServices.RegisterCompactType(typeof(PartitionedCacheBase.Identity), 77);
            CompactFormatterServices.RegisterCompactType(typeof(ReplicatedCacheBase.Identity), 78);
            CompactFormatterServices.RegisterCompactType(typeof(StateTxfrInfo), 116);
            CompactFormatterServices.RegisterCompactType(typeof(CompressedValueEntry), 133);
            CompactFormatterServices.RegisterCompactType(typeof(PayloadInfo), 136);
#endif
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.Queries.QueryResultSet), 151);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.OperationContext), 153);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.OperationContext[]), 345);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.EventContext[]), 346);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.OperationID), 163);
            //CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.EventContext), 168);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.NCacheSessionItem), 129);
        }
示例#4
0
        /// <summary>
        /// Registers types with the Compact Serializatin Framework. Range of reserved
        /// typeHandle is (61 - 1000).
        /// </summary>
        static public void RegisterCompactTypes()
        {
            TypeSurrogateSelector.RegisterTypeSurrogate(new ArraySerializationSurrogate(typeof(CacheEntry[])));
            TypeSurrogateSelector.RegisterTypeSurrogate(new CustomArraySerializationSurrogate(typeof(CustomArraySerializationSurrogate)));
            //WARNING :  From 80 to  are also alredy in use , in different classes.
            CompactFormatterServices.RegisterCompactType(typeof(CacheEntry), 61);
            CompactFormatterServices.RegisterCompactType(typeof(PriorityEvictionHint), 64);
            CompactFormatterServices.RegisterCompactType(typeof(CacheStatistics), 65);
            CompactFormatterServices.RegisterCompactType(typeof(ClusterCacheStatistics), 66);
            CompactFormatterServices.RegisterCompactType(typeof(NodeInfo), 67);
            CompactFormatterServices.RegisterCompactType(typeof(AggregateExpirationHint), 68);
            CompactFormatterServices.RegisterCompactType(typeof(IdleExpiration), 69);
            CompactFormatterServices.RegisterCompactType(typeof(LockExpiration), 135);
            CompactFormatterServices.RegisterCompactType(typeof(FixedExpiration), 70);
            CompactFormatterServices.RegisterCompactType(typeof(KeyDependency), 71);
            CompactFormatterServices.RegisterCompactType(typeof(FixedIdleExpiration), 72);
            CompactFormatterServices.RegisterCompactType(typeof(DependencyHint), 73);
            CompactFormatterServices.RegisterCompactType(typeof(CompactCacheEntry), 105);
            CompactFormatterServices.RegisterCompactType(typeof(CallbackEntry), 107);
            CompactFormatterServices.RegisterCompactType(typeof(CallbackInfo), 111);
            CompactFormatterServices.RegisterCompactType(typeof(AsyncCallbackInfo), 112);
            CompactFormatterServices.RegisterCompactType(typeof(CacheSyncDependency), 113);
            CompactFormatterServices.RegisterCompactType(typeof(BucketStatistics), 117);
            CompactFormatterServices.RegisterCompactType(typeof(CacheInsResultWithEntry), 118);
            CompactFormatterServices.RegisterCompactType(typeof(ExtensibleDependency), 119);
            CompactFormatterServices.RegisterCompactType(typeof(DSWriteOperation), 120);
            CompactFormatterServices.RegisterCompactType(typeof(DSWriteBehindOperation), 121);
            CompactFormatterServices.RegisterCompactType(typeof(UserBinaryObject), 125);

            CompactFormatterServices.RegisterCompactType(typeof(MapReduceOperation), 363);

            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.MapReduce.Notifications.TaskCallbackInfo), 364);

            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.MapReduce.TaskEnumeratorResult), 365);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.MapReduce.TaskEnumeratorPointer), 366);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.MapReduce.TaskOutputPair), 367);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Runtime.MapReduce.KeyValuePair), 368);

            CompactFormatterServices.RegisterCompactType(typeof(Runtime.Caching.ClientInfo), 370);
            CompactFormatterServices.RegisterCompactType(typeof(Config.Dom.ClientActivityNotification), 371);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.ProductVersion), 302);

            CompactFormatterServices.RegisterCompactType(typeof(RequestStatus), 303);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.Statistics.BucketStatistics.TopicStats), 383);

#if (COMMUNITY) && (!CLIENT)
            CompactFormatterServices.RegisterCompactType(typeof(ReadFromStreamOperation), 138);
            CompactFormatterServices.RegisterCompactType(typeof(WriteToStreamOperation), 139);
            CompactFormatterServices.RegisterCompactType(typeof(GetStreamLengthOperation), 140);
            CompactFormatterServices.RegisterCompactType(typeof(ClusterOperationResult), 141);
            CompactFormatterServices.RegisterCompactType(typeof(OpenStreamResult), 142);
            CompactFormatterServices.RegisterCompactType(typeof(CloseStreamResult), 143);
            CompactFormatterServices.RegisterCompactType(typeof(ReadFromStreamResult), 144);
            CompactFormatterServices.RegisterCompactType(typeof(WriteToStreamResult), 145);
            CompactFormatterServices.RegisterCompactType(typeof(GetStreamLengthResult), 146);
            CompactFormatterServices.RegisterCompactType(typeof(OpenStreamOperation), 147);
            CompactFormatterServices.RegisterCompactType(typeof(CloseStreamOperation), 148);
            CompactFormatterServices.RegisterCompactType(typeof(VirtualArray), 149);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.Locking.LockManager), 150);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataStructures.DistributionMaps), 160);
            CompactFormatterServices.RegisterCompactType(typeof(EventCacheEntry), 262);
            CompactFormatterServices.RegisterCompactType(typeof(EventContext), 263);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.AutoExpiration.LockMetaInfo), 264);
#endif

#if !( CLIENT)
            CompactFormatterServices.RegisterCompactType(typeof(WriteBehindQueueRequest), 122);
            CompactFormatterServices.RegisterCompactType(typeof(WriteBehindQueueResponse), 123);
#endif


#if !CLIENT
            CompactFormatterServices.RegisterCompactType(typeof(StateTxfrInfo), 116);
            CompactFormatterServices.RegisterCompactType(typeof(NodeExpiration), 74);
            CompactFormatterServices.RegisterCompactType(typeof(PartitionedCacheBase.Identity), 77);



            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.AutoExpiration.SqlCmdParams), 134);



            CompactFormatterServices.RegisterCompactType(typeof(DataAffinity), 106);


            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataStructures.StateTransferInfo), 130);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataStructures.ReplicatorStatusInfo), 131);
            CompactFormatterServices.RegisterCompactType(typeof(CompressedValueEntry), 133);

            CompactFormatterServices.RegisterCompactType(typeof(Function), 75);
            CompactFormatterServices.RegisterCompactType(typeof(AggregateFunction), 76);
            CompactFormatterServices.RegisterCompactType(typeof(ReplicatedCacheBase.Identity), 78);

            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.Queries.QueryResultSet), 151);
            CompactFormatterServices.RegisterCompactType(typeof(TaskConfiguration), 369);

            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.OperationContext), 153);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.OperationContext[]), 345);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.EventContext[]), 346);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Caching.OperationID), 163);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Persistence.Event), 258);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Persistence.EventInfo), 259);



            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.ReaderResultSet), 354);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.RecordSet), 348);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.ColumnCollection), 349);

            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.RowCollection), 350);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.SubsetInfo), 351);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.RecordRow), 352);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.DataReader.RecordColumn), 353);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Processor.EntryProcessorResult), 356);

            // For clusterd_poll
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Common.Events.PollingResult), 357);

            CompactFormatterServices.RegisterCompactType(typeof(AcknowledgeMessageOperation), 358);
            CompactFormatterServices.RegisterCompactType(typeof(AssignmentOperation), 359);
            CompactFormatterServices.RegisterCompactType(typeof(ClusterTopicOperation), 360);
            CompactFormatterServices.RegisterCompactType(typeof(RemoveMessagesOperation), 361);
            CompactFormatterServices.RegisterCompactType(typeof(StoreMessageOperation), 362);
            CompactFormatterServices.RegisterCompactType(typeof(Common.TopicOperation), 373);
            CompactFormatterServices.RegisterCompactType(typeof(Common.SubscriptionOperation), 374);
            CompactFormatterServices.RegisterCompactType(typeof(Common.SubscriptionInfo), 375);
            CompactFormatterServices.RegisterCompactType(typeof(Common.MessageMetaData), 376);
            CompactFormatterServices.RegisterCompactType(typeof(MessageInfo), 377);
            CompactFormatterServices.RegisterCompactType(typeof(Caching.Messaging.Message), 379);
            CompactFormatterServices.RegisterCompactType(typeof(Caching.Messaging.ClientSubscriptionManager.State), 380);
            CompactFormatterServices.RegisterCompactType(typeof(Caching.Messaging.TransferrableMessage), 381);
            CompactFormatterServices.RegisterCompactType(typeof(Caching.Messaging.Topic.State), 382);

            CompactFormatterServices.RegisterCompactType(typeof(AtomicAcknowledgeMessageOperation), 384);
            CompactFormatterServices.RegisterCompactType(typeof(GetTransferrableMessageOperation), 385);
            CompactFormatterServices.RegisterCompactType(typeof(AtomicRemoveMessageOperation), 386);
            CompactFormatterServices.RegisterCompactType(typeof(Common.Monitoring.TopicStats), 387);
            CompactFormatterServices.RegisterCompactType(typeof(GetAssignedMessagesResponse), 388);
            CompactFormatterServices.RegisterCompactType(typeof(GetAssignedMessagesOperation), 389);
#endif
        }
示例#5
0
        /// <summary>
        /// Registers types with the Compact Serializatin Framework. Range of reserved
        /// typeHandle is (61 - 1000).
        /// </summary>
        static public void RegisterCompactTypes(PoolManager poolManager)
        {
            TypeSurrogateSelector.RegisterTypeSurrogate(new ArraySerializationSurrogate(typeof(CacheEntry[])));
            TypeSurrogateSelector.RegisterTypeSurrogate(new CustomArraySerializationSurrogate(typeof(CustomArraySerializationSurrogate)));
            CompactFormatterServices.RegisterCompactType(typeof(CacheEntry), 61);
            CompactFormatterServices.RegisterCompactType(typeof(CounterHint), 62);
            CompactFormatterServices.RegisterCompactType(typeof(TimestampHint), 63);
            CompactFormatterServices.RegisterCompactType(typeof(PriorityEvictionHint), 64);
            CompactFormatterServices.RegisterCompactType(typeof(CacheStatistics), 65);
            CompactFormatterServices.RegisterCompactType(typeof(ClusterCacheStatistics), 66);
            CompactFormatterServices.RegisterCompactType(typeof(NodeInfo), 67);
            CompactFormatterServices.RegisterCompactType(typeof(AggregateExpirationHint), 68);
            CompactFormatterServices.RegisterCompactType(typeof(IdleExpiration), 69, pool: null);
            CompactFormatterServices.RegisterCompactType(typeof(LockExpiration), 135, pool: null);
            CompactFormatterServices.RegisterCompactType(typeof(FixedExpiration), 70);
            CompactFormatterServices.RegisterCompactType(typeof(FixedIdleExpiration), 72, pool: null);
            CompactFormatterServices.RegisterCompactType(typeof(DependencyHint), 73, pool: null);
            CompactFormatterServices.RegisterCompactType(typeof(CompactCacheEntry), 105);
            CompactFormatterServices.RegisterCompactType(typeof(Caching.Notifications), 107, null);
            CompactFormatterServices.RegisterCompactType(typeof(CallbackInfo), 111);
            CompactFormatterServices.RegisterCompactType(typeof(AsyncCallbackInfo), 112);
            CompactFormatterServices.RegisterCompactType(typeof(BucketStatistics), 117);
            CompactFormatterServices.RegisterCompactType(typeof(CacheInsResultWithEntry), 118);

            CompactFormatterServices.RegisterCompactType(typeof(UserBinaryObject), 125, pool: null);
            CompactFormatterServices.RegisterCompactType(typeof(Runtime.Caching.ClientInfo), 370);
            CompactFormatterServices.RegisterCompactType(typeof(ClientActivityNotification), 371);
            CompactFormatterServices.RegisterCompactType(typeof(Common.ProductVersion), 302);
            CompactFormatterServices.RegisterCompactType(typeof(Common.DataStructures.RequestStatus), 303);
            CompactFormatterServices.RegisterCompactType(typeof(BucketStatistics.TopicStats), 383);
#if (!CLIENT && !DEVELOPMENT)
            CompactFormatterServices.RegisterCompactType(typeof(ReadFromStreamOperation), 138);
            CompactFormatterServices.RegisterCompactType(typeof(WriteToStreamOperation), 139);
            CompactFormatterServices.RegisterCompactType(typeof(GetStreamLengthOperation), 140);
            CompactFormatterServices.RegisterCompactType(typeof(ClusterOperationResult), 141);
            CompactFormatterServices.RegisterCompactType(typeof(OpenStreamResult), 142);
            CompactFormatterServices.RegisterCompactType(typeof(CloseStreamResult), 143);
            CompactFormatterServices.RegisterCompactType(typeof(ReadFromStreamResult), 144);
            CompactFormatterServices.RegisterCompactType(typeof(WriteToStreamResult), 145);
            CompactFormatterServices.RegisterCompactType(typeof(GetStreamLengthResult), 146);
            CompactFormatterServices.RegisterCompactType(typeof(OpenStreamOperation), 147);
            CompactFormatterServices.RegisterCompactType(typeof(CloseStreamOperation), 148);

            CompactFormatterServices.RegisterCompactType(typeof(DataAffinity), 106);
            CompactFormatterServices.RegisterCompactType(typeof(Function), 75);
            CompactFormatterServices.RegisterCompactType(typeof(AggregateFunction), 76);
            CompactFormatterServices.RegisterCompactType(typeof(MirrorCacheBase.Identity), 129);
            CompactFormatterServices.RegisterCompactType(typeof(AcknowledgeMessageOperation), 358);
            CompactFormatterServices.RegisterCompactType(typeof(AssignmentOperation), 359);
            CompactFormatterServices.RegisterCompactType(typeof(ClusterTopicOperation), 360);
            CompactFormatterServices.RegisterCompactType(typeof(RemoveMessagesOperation), 361);
            CompactFormatterServices.RegisterCompactType(typeof(StoreMessageOperation), 362);
            CompactFormatterServices.RegisterCompactType(typeof(AtomicAcknowledgeMessageOperation), 384);
            CompactFormatterServices.RegisterCompactType(typeof(GetTransferrableMessageOperation), 385);
            CompactFormatterServices.RegisterCompactType(typeof(AtomicRemoveMessageOperation), 386);
            CompactFormatterServices.RegisterCompactType(typeof(GetAssignedMessagesResponse), 388);
            CompactFormatterServices.RegisterCompactType(typeof(GetAssignedMessagesOperation), 389);
            CompactFormatterServices.RegisterCompactType(typeof(CacheItemBase), 431, pool: null);



            CompactFormatterServices.RegisterCompactType(typeof(ReplicaStateTxfrInfo), 469);
#endif

            CompactFormatterServices.RegisterCompactType(typeof(VirtualArray), 149);
            CompactFormatterServices.RegisterCompactType(typeof(Common.Locking.LockManager), 150);
            CompactFormatterServices.RegisterCompactType(typeof(DistributionMaps), 160);
            CompactFormatterServices.RegisterCompactType(typeof(EventCacheEntry), 262);
            CompactFormatterServices.RegisterCompactType(typeof(EventContext), 263);
            CompactFormatterServices.RegisterCompactType(typeof(LockMetaInfo), 264);

            CompactFormatterServices.RegisterCompactType(typeof(NodeExpiration), 74);

            CompactFormatterServices.RegisterCompactType(typeof(SqlCmdParams), 134);

            CompactFormatterServices.RegisterCompactType(typeof(StateTransferInfo), 130);
            CompactFormatterServices.RegisterCompactType(typeof(ReplicatorStatusInfo), 131);
            CompactFormatterServices.RegisterCompactType(typeof(CompressedValueEntry), 133);
            CompactFormatterServices.RegisterCompactType(typeof(OperationContext), 153);
            CompactFormatterServices.RegisterCompactType(typeof(OperationContext[]), 345);
            CompactFormatterServices.RegisterCompactType(typeof(EventContext[]), 346);
            CompactFormatterServices.RegisterCompactType(typeof(OperationID), 163);
            CompactFormatterServices.RegisterCompactType(typeof(Persistence.Event), 258);
            CompactFormatterServices.RegisterCompactType(typeof(Persistence.EventInfo), 259);
            CompactFormatterServices.RegisterCompactType(typeof(Common.Events.PollingResult), 357);
            CompactFormatterServices.RegisterCompactType(typeof(Common.TopicOperation), 373);
            CompactFormatterServices.RegisterCompactType(typeof(Common.SubscriptionOperation), 374);
            CompactFormatterServices.RegisterCompactType(typeof(Common.SubscriptionInfo), 375);
            CompactFormatterServices.RegisterCompactType(typeof(Common.MessageMetaData), 376);
            CompactFormatterServices.RegisterCompactType(typeof(MessageInfo), 377);
            CompactFormatterServices.RegisterCompactType(typeof(Caching.Messaging.Message), 379);
            CompactFormatterServices.RegisterCompactType(typeof(ClientSubscriptionManager.State), 380);
            CompactFormatterServices.RegisterCompactType(typeof(TransferrableMessage), 381);
            CompactFormatterServices.RegisterCompactType(typeof(Topic.State), 382);
            CompactFormatterServices.RegisterCompactType(typeof(Common.Monitoring.TopicStats), 387);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Config.NewDom.CacheServerConfig), 393);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Config.NewDom.CacheDeployment), 394);
            CompactFormatterServices.RegisterCompactType(typeof(Alachisoft.NCache.Config.NewDom.ServersNodes), 396);

            CompactFormatterServices.RegisterCompactType(typeof(Caching.Messaging.EventMessage), 470);
            CompactFormatterServices.RegisterCompactType(typeof(MultiCastMessage), 471);
            CompactFormatterServices.RegisterCompactType(typeof(Caching.EventId), 472);

            CompactFormatterServices.RegisterCompactType(typeof(MessageResponse), 503);
            CompactFormatterServices.RegisterCompactType(typeof(TopicState), 505);
            CompactFormatterServices.RegisterCompactType(typeof(SubscriptionIdentifier), 506);
            CompactFormatterServices.RegisterCompactType(typeof(Subscriptions), 507);
            CompactFormatterServices.RegisterCompactType(typeof(ExclusiveSubscriptions), 508);

            CompactFormatterServices.RegisterCompactType(typeof(EventSubscriptions), 515);
            CompactFormatterServices.RegisterCompactType(typeof(EventMessageBase), 519);
            CompactFormatterServices.RegisterCompactType(typeof(ExpireSubscriptionOperation), 521);

            CompactFormatterServices.RegisterCompactType(typeof(BucketStatistics[]), 523);
            CompactFormatterServices.RegisterCompactType(typeof(ClientProfile), 538);

            #region - [PoolStats] -
            CompactFormatterServices.RegisterCompactType(typeof(PoolStats), 526);
            CompactFormatterServices.RegisterCompactType(typeof(ArrayPoolStats), 527);
            CompactFormatterServices.RegisterCompactType(typeof(ObjectPoolStats), 528);
            CompactFormatterServices.RegisterCompactType(typeof(StringPoolStats), 529);
            CompactFormatterServices.RegisterCompactType(typeof(PoolStatsRequest), 530);
            CompactFormatterServices.RegisterCompactType(typeof(ArrayPoolStats[]), 531);
            CompactFormatterServices.RegisterCompactType(typeof(ObjectPoolStats[]), 532);
            CompactFormatterServices.RegisterCompactType(typeof(StringPoolStats[]), 533);
            #endregion
        }