コード例 #1
0
 private ByteArrayBuffer MarshallObjects(int prefetchDepth, int prefetchCount, IIntIterator4
                                         ids)
 {
     lock (ContainerLock())
     {
         IObjectExchangeStrategy strategy = ObjectExchangeStrategyFactory.ForConfig(new ObjectExchangeConfiguration
                                                                                        (prefetchDepth, prefetchCount));
         return(strategy.Marshall((LocalTransaction)Transaction(), ids, prefetchCount));
     }
 }
コード例 #2
0
		private IFixedSizeIntIterator4 IdIteratorFor(IObjectExchangeStrategy strategy, Transaction
			 trans, ByteArrayBuffer reader)
		{
			return strategy.Unmarshall((ClientTransaction)trans, _clientSlotCache, reader);
		}
コード例 #3
0
 private IFixedSizeIntIterator4 IdIteratorFor(IObjectExchangeStrategy strategy, Transaction
                                              trans, ByteArrayBuffer reader)
 {
     return(strategy.Unmarshall((ClientTransaction)trans, _clientSlotCache, reader));
 }