Esempio n. 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void install(MembershipEntry committed) throws java.io.IOException
        public virtual void Install(MembershipEntry committed)
        {
            _state = new RaftMembershipState(committed.LogIndex(), committed, null);
            _storage.persistStoreData(_state);
            UpdateMemberSets();
        }
Esempio n. 2
0
 internal RaftMembershipState(long ordinal, MembershipEntry committed, MembershipEntry appended)
 {
     this._ordinal   = ordinal;
     this._committed = committed;
     this._appended  = appended;
 }