use of org.infinispan.query.spi.SearchManagerImplementor in project indy by Commonjava.
the class FoloCacheProducer method registerTransformer.
private void registerTransformer() {
final CacheHandle<TrackedContentEntry, TrackedContentEntry> handler = cacheProducer.getCache(IN_PROGRESS_NAME, TrackedContentEntry.class, TrackedContentEntry.class);
handler.execute(cache -> {
SearchManagerImplementor searchManager = (SearchManagerImplementor) Search.getSearchManager(cache);
searchManager.registerKeyTransformer(TrackedContentEntry.class, TrackedContentEntryTransformer.class);
return null;
});
}
Aggregations