use of org.infinispan.commands.irac.IracPutKeyCommand in project infinispan by infinispan.
the class CommandsFactoryImpl method buildIracPutKeyCommand.
@Override
public <K, V> IracPutKeyCommand buildIracPutKeyCommand(InternalCacheEntry<K, V> entry) {
PrivateMetadata internalMetadata = entry.getInternalMetadata();
assert internalMetadata != null : "[IRAC] Metadata to send to remote site is null! key=" + entry.getKey();
IracMetadata iracMetadata = internalMetadata.iracMetadata();
return new IracPutKeyCommand(cacheName, entry.getKey(), entry.getValue(), entry.getMetadata(), iracMetadata);
}
Aggregations