use of com.zimbra.cs.volume.Volume in project zm-mailbox by Zimbra.
the class ModifyVolume method redo.
@Override
public void redo() throws Exception {
VolumeManager mgr = VolumeManager.getInstance();
// make sure it exists
mgr.getVolume(id);
Volume vol = Volume.builder().setId(id).setType(type).setName(name).setPath(rootPath, false).setMboxGroupBits(mboxGroupBits).setMboxBit(mboxBits).setFileGroupBits(fileGroupBits).setFileBits(fileBits).setCompressBlobs(compressBlobs).setCompressionThreshold(compressionThreshold).build();
mgr.update(vol, getUnloggedReplay());
}
Aggregations