コード例 #1
0
 public MetadataContent(MetadataDTO metadataDTO, int access, int timestamp)
 {
     this.metadataDTO     = metadataDTO;
     this.access          = access;
     this.timestamp       = timestamp;
     this.realReadQuorum  = metadataDTO.readQuorum;
     this.realWriteQuorum = metadataDTO.writeQuorum;
 }
コード例 #2
0
 public void update(MetadataDTO metadataDTO, int access, int timestamp)
 {
     this.metadataDTO = metadataDTO;
     this.access      = access;
     this.timestamp   = timestamp;
 }