T - The type of the domain value classID - The type of the domain key class@NoRepositoryBean
public interface HazelcastRepository<T extends Serializable,ID extends Serializable>
extends org.springframework.data.keyvalue.repository.KeyValueRepository<T,ID>
Subtype @Repository for Hazelcast usage.
Although part of the rationale of the repository interface is to abstract the implementation, it is useful for type checking to confirm the allowed type generics for the domain classes.
Note that KeyValueRepository defines that the
ID class extends Serializable.
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.