private void setLastReadDate(Peer peer, long date) {
        storage.put(peer.getUnuqueId(), new ReadState(date).toByteArray());
        readStates.put(peer, date);
    }
private void setLastReadDate ( Peer peer , long date ) { storage . put ( peer . getUnuqueId ( ) , new ReadState ( date ) . toByteArray ( ) ) ; readStates . put ( peer , date ) ; }
Setting last read date for peer

@param peer peer
@param date date