return persistenceManager.getAllLoaders().get(0);
}
@SuppressWarnings("unchecked")
public static <T extends CacheWriter<K, V>, K, V> T getFirstWriter(Cache<K, V> cache) {
PersistenceManagerImpl persistenceManager = (PersistenceManagerImpl) extractComponent(cache, PersistenceManager.class);
return (T) persistenceManager.getAllWriters().get(0);
}