Class ExpirationSelector<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.expiration.ExpirationSelector<U,I,F>
- Type Parameters:
U
- type of the users.I
- type of the information pieces.F
- type of the user and information pieces features.
public class ExpirationSelector<U extends java.io.Serializable,I extends java.io.Serializable,F>
extends java.lang.Object
Class for selecting an expiration mechanism from its configuration.
- See Also:
AllNotRealPropagatedExpirationMechanism
-
Constructor Summary
Constructors Constructor Description ExpirationSelector()
-
Method Summary
Modifier and Type Method Description org.jooq.lambda.tuple.Tuple2<java.lang.String,ExpirationMechanism<U,I,F>>
select(java.lang.String name, Parameters params)
Selects and configures a expiration mechanism.
-
Constructor Details
-
ExpirationSelector
public ExpirationSelector()
-
-
Method Details
-
select
public org.jooq.lambda.tuple.Tuple2<java.lang.String,ExpirationMechanism<U,I,F>> select(java.lang.String name, Parameters params)Selects and configures a expiration mechanism.- Parameters:
name
- the name of the expiration mechanism.params
- the parameters of the expiration mechanism.- Returns:
- a pair containing the name and the selected expiration mechanism.
-