void logModifyCacheDirectiveInfo( CacheDirectiveInfo directive, boolean toLogRpcIds) { ModifyCacheDirectiveInfoOp op = ModifyCacheDirectiveInfoOp.getInstance( cache.get()).setDirective(directive); logRpcIds(op, toLogRpcIds); logEdit(op); }
new AddCacheDirectiveInfoOp()); inst.put(OP_MODIFY_CACHE_DIRECTIVE, new ModifyCacheDirectiveInfoOp()); inst.put(OP_REMOVE_CACHE_DIRECTIVE, new RemoveCacheDirectiveInfoOp());
new AddCacheDirectiveInfoOp()); inst.put(OP_MODIFY_CACHE_DIRECTIVE, new ModifyCacheDirectiveInfoOp()); inst.put(OP_REMOVE_CACHE_DIRECTIVE, new RemoveCacheDirectiveInfoOp());
@Override void fromXml(Stanza st) throws InvalidXmlException { this.directive = FSImageSerialization.readCacheDirectiveInfo(st); readRpcIdsFromXml(st); }
@Override void readFields(DataInputStream in, int logVersion) throws IOException { this.directive = FSImageSerialization.readCacheDirectiveInfo(in); readRpcIds(in, logVersion); }
@Override void readFields(DataInputStream in, int logVersion) throws IOException { this.directive = FSImageSerialization.readCacheDirectiveInfo(in); readRpcIds(in, logVersion); }
@Override void fromXml(Stanza st) throws InvalidXmlException { this.directive = FSImageSerialization.readCacheDirectiveInfo(st); readRpcIdsFromXml(st); }
void logModifyCacheDirectiveInfo( CacheDirectiveInfo directive, boolean toLogRpcIds) { ModifyCacheDirectiveInfoOp op = ModifyCacheDirectiveInfoOp.getInstance( cache.get()).setDirective(directive); logRpcIds(op, toLogRpcIds); logEdit(op); }
@Override void fromXml(Stanza st) throws InvalidXmlException { this.directive = FSImageSerialization.readCacheDirectiveInfo(st); readRpcIdsFromXml(st); }
@Override void readFields(DataInputStream in, int logVersion) throws IOException { this.directive = FSImageSerialization.readCacheDirectiveInfo(in); readRpcIds(in, logVersion); }
void logModifyCacheDirectiveInfo( CacheDirectiveInfo directive, boolean toLogRpcIds) { ModifyCacheDirectiveInfoOp op = ModifyCacheDirectiveInfoOp.getInstance( cache.get()).setDirective(directive); logRpcIds(op, toLogRpcIds); logEdit(op); }