com.alachisoft.ncache.spring.CacheObject Maven / Gradle / Ivy
/*
* Alachisoft (R) NCache Integrations
* NCache Provider for Spring
* ===============================================================================
* Copyright © Alachisoft. All rights reserved.
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
* OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
* LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE.
* ===============================================================================
*/
package com.alachisoft.ncache.spring;
import java.io.Serializable;
import org.springframework.cache.Cache;
public class CacheObject implements Cache.ValueWrapper, Serializable {
Object _value;
public CacheObject(Object value) {
_value = value;
}
@Override
public Object get() {
return _value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy