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