public CachedDataInterface(CachesManager cachesManager, MemoryManager memoryManager, DataInterface<T> baseInterface) {
super(baseInterface);
this.memoryManager = memoryManager;
this.readCache = cachesManager.createNewCache(false, getName() + "_read", baseInterface.getObjectClass());
this.writeCache = cachesManager.createNewCache(true, getName() + "_write", baseInterface.getObjectClass());
this.writeLock = new DataLock(10000, false);
}