Esempio n. 1
0
        public override long VersionForId(int id)
        {
            MsgD msg = Msg.VersionForId.GetWriterForInt(SystemTransaction(), id);

            _client.Write(msg);
            return(_client.ExpectedBufferResponse(Msg.VersionForId).ReadLong());
        }
Esempio n. 2
0
        public virtual void FetchIDs(int batchSize)
        {
            _client.Write(Msg.ObjectsetFetch.GetWriterForInts(_transaction, new int[] { _queryResultID
                                                                                        , batchSize, _client.PrefetchDepth() }));
            ByteArrayBuffer reader = _client.ExpectedBufferResponse(Msg.IdList);

            LoadFromIdReader(_client.IdIteratorFor(_transaction, reader));
        }