Interface Entry<T>
- Type Parameters:
T
- the type of the associated value
- All Known Implementing Classes:
BatchingHandlerRepository.Update
,SearchHit
public interface Entry<T>
Represents a key-value pair with a string-based identifier.
This interface is commonly used in Flux to model lightweight references to domain objects, documents, or indexed
values. It is intentionally simple and generic to allow broad reuse across components such as the
DocumentStore
, HandlerRepository
, and other infrastructure abstractions.
-
Method Summary
-
Method Details
-
getId
String getId()Returns the identifier of the entry. Typically, this corresponds to an entity ID, document ID, or association key.- Returns:
- the unique ID as a
String
-
getValue
T getValue()Returns the value associated with this entry. This may be a domain object, handler instance, or deserialized document depending on usage.- Returns:
- the value of type
T
-