Class TimedExpirationConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.expiration.TimedExpirationConfigurator<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.
- All Implemented Interfaces:
ExpirationConfigurator<U,I,F>
public class TimedExpirationConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F> extends java.lang.Object implements ExpirationConfigurator<U,I,F>
Configures an expiration mechanism that discards all the pieces after a fixed time.
- See Also:
TimedExpirationMechanism
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
MAXTIME
Identifier for the maximum time before expiration of an information piece. -
Constructor Summary
Constructors Constructor Description TimedExpirationConfigurator()
-
Method Summary
Modifier and Type Method Description ExpirationMechanism<U,I,F>
configure(Parameters params)
Configures a expiration mechanism for the non-propagated pieces of information
-
Field Details
-
MAXTIME
private static final java.lang.String MAXTIMEIdentifier for the maximum time before expiration of an information piece.- See Also:
- Constant Field Values
-
-
Constructor Details
-
TimedExpirationConfigurator
public TimedExpirationConfigurator()
-
-
Method Details
-
configure
Description copied from interface:ExpirationConfigurator
Configures a expiration mechanism for the non-propagated pieces of information- Specified by:
configure
in interfaceExpirationConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
- Parameters:
params
- the parameters of the mechanism.- Returns:
- the expiration mechanism.
-