uPortal 2.4.1
API Documentation

org.jasig.portal.concurrency.caching
Class CachedEntityInvalidation

java.lang.Object
  extended byorg.jasig.portal.concurrency.caching.CachedEntityInvalidation
All Implemented Interfaces:
IBasicEntity

public class CachedEntityInvalidation
extends java.lang.Object
implements IBasicEntity

An instance of this class represents an event: a change to an IBasicEntity that renders any cached instances of the entity invalid.

Version:
$Revision: 1.6 $
Author:
Dan Ellentuck

Constructor Summary
CachedEntityInvalidation(java.lang.Class eType, java.lang.String eKey, java.util.Date time, int cache)
          CachedEntityInvalidation constructor.
CachedEntityInvalidation(EntityIdentifier newEntityIdentifier, java.util.Date time, int cache)
          CachedEntityInvalidation constructor.
 
Method Summary
 int getCacheID()
           
 EntityIdentifier getEntityIdentifier()
           
 java.util.Date getInvalidationTime()
           
 java.lang.String getKey()
           
 java.lang.Class getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CachedEntityInvalidation

public CachedEntityInvalidation(java.lang.Class eType,
                                java.lang.String eKey,
                                java.util.Date time,
                                int cache)
CachedEntityInvalidation constructor.


CachedEntityInvalidation

public CachedEntityInvalidation(EntityIdentifier newEntityIdentifier,
                                java.util.Date time,
                                int cache)
CachedEntityInvalidation constructor.

Method Detail

getEntityIdentifier

public final EntityIdentifier getEntityIdentifier()
Specified by:
getEntityIdentifier in interface IBasicEntity
Returns:
EntityIdentifier

getInvalidationTime

public java.util.Date getInvalidationTime()
Returns:
Date

getKey

public final java.lang.String getKey()
Returns:
java.lang.String

getType

public final java.lang.Class getType()
Returns:
java.lang.Class

toString

public java.lang.String toString()
Returns:
String

getCacheID

public int getCacheID()
Returns:
int

uPortal 2.4.1
API Documentation