infinispan/infinispan — pull request #1467 by tristantarrant (2012-11-15 13:50:50+00:00)
Title: ISPN-2323: Make RemoteCacheManager and RemoteCacheServer interoperable

https://issues.jboss.org/browse/ISPN-2323

Make RemoteCacheStore interoperable with RemoteCacheManager (this is to support Rolling Upgrades, but can also be useful for other use-cases)

- Introduce a new HotRod command GetWithMetadata which is similar to GetWithVersion but also returns expiration information
- Add a new configuration option "rawValues" to the RemoteCacheStore so that it will do "raw" reads and writes to the HotRod server, instead of marshalling InternalCacheEntries

The RemoteCacheStore must be configured to use the same marshaller as the RemoteCacheManagers interacting with the HotRod server. By default this is GenericJBossMarshaller when using raw values (which is also the default for the RemoteCacheManager).