@Override
            public void end() {
                if (!aborted) {
                    synchronized (mutex) {
                        InfinispanCacheEntry entry = (InfinispanCacheEntry) getCache().get(cacheKey);
                        if (entry == null) {
                            entry = new InfinispanCacheEntry();
                        }
                        entry.setHead(jsonObject);
                        entry.setExpiresOn(System.currentTimeMillis() + (timeToLive * 1000));
                        entry.setData(dataBuffer.getBytes());
                        getCache().put(cacheKey, entry);
                    }
                }
            }
@see io.apiman.gateway.engine.components.ICacheStoreComponent#putBinary(java.lang.String, java.lang.Object, long)
gateway/engine/ispn/src/main/java/io/apiman/gateway/engine/ispn/InfinispanCacheStoreComponent.java