List of usage examples for org.springframework.data.mapping.model MutablePersistentEntity getType
Class<T> getType();
From source file:com.turbospaces.offmemory.IndexManager.java
@SuppressWarnings({ "javadoc" }) public IndexManager(final MutablePersistentEntity mutablePersistentEntity, final SpaceConfiguration configuration) { this.configuration = configuration; bo = configuration.boFor(mutablePersistentEntity.getType()); idCache = new OffHeapLinearProbingSet(configuration.getMemoryManager(), bo.getCapacityRestriction(), configuration.getCapacityRestriction(), (PropertiesSerializer) configuration.getKryo().getSerializer(mutablePersistentEntity.getType()), configuration.getListeningExecutorService()); }