Esempio n. 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;
 }
Esempio n. 2
0
 public void update(MetadataDTO metadataDTO, int access, int timestamp)
 {
     this.metadataDTO = metadataDTO;
     this.access      = access;
     this.timestamp   = timestamp;
 }