NetKernel APIs


org.ten60.netkernel.layer1.meta
Class TimedExpiryMeta

java.lang.Object
  extended bycom.ten60.netkernel.urii.meta.MetaImpl
      extended byorg.ten60.netkernel.layer1.meta.MetaImpl
          extended byorg.ten60.netkernel.layer1.meta.TimedExpiryMeta
All Implemented Interfaces:
IURMeta

public class TimedExpiryMeta
extends MetaImpl

A Meta with a set time to expire


Field Summary
static long ONE_DAY
           
static long ONE_HOUR
           
static long ONE_MINUTE
           
static long ONE_MONTH
           
static long ONE_SECOND
           
static long ONE_WEEK
           
static long ONE_YEAR
           
 
Constructor Summary
TimedExpiryMeta(String aMimeType, long aExpiryTime, int aCreationCost)
          Creates a new instance of TimedExpiryMeta
 
Method Summary
 String toString()
           
 
Methods inherited from class org.ten60.netkernel.layer1.meta.MetaImpl
isIntermediate
 
Methods inherited from class com.ten60.netkernel.urii.meta.MetaImpl
getContextSensitivity, getCreationCost, getMimeType, getPessimisticExpiryTime, getUsageCost, incrementCreationCost, isExpired, setMimeType, setPessimisticExpiryTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ONE_SECOND

public static final long ONE_SECOND
See Also:
Constant Field Values

ONE_MINUTE

public static final long ONE_MINUTE
See Also:
Constant Field Values

ONE_HOUR

public static final long ONE_HOUR
See Also:
Constant Field Values

ONE_DAY

public static final long ONE_DAY
See Also:
Constant Field Values

ONE_WEEK

public static final long ONE_WEEK
See Also:
Constant Field Values

ONE_MONTH

public static final long ONE_MONTH
See Also:
Constant Field Values

ONE_YEAR

public static final long ONE_YEAR
See Also:
Constant Field Values
Constructor Detail

TimedExpiryMeta

public TimedExpiryMeta(String aMimeType,
                       long aExpiryTime,
                       int aCreationCost)
Creates a new instance of TimedExpiryMeta

Method Detail

toString

public String toString()
Overrides:
toString in class MetaImpl

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.