|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.ProblemsTable
public class ProblemsTable
A cache of recently reported PortalExceptions.
| Field Summary | |
|---|---|
static String |
MAX_RECENT_ERRORS_PER_SPECIFIC_PROPERTY
The name of the PropertiesManager property the value of which should be the number of recent PortalExceptions you would like stored for each specific subcategory of ErrorID. |
static String |
OVERALL_RECENT_ERRORS_PROPERTY
The name of the propertiesManager property the value of which should be the number of recent PortalExceptions you would like stored in the overall FIFO cache, regardless of ErrorID. |
static LinkedList<org.jasig.portal.CountID> |
recentIds
List of recently modified CountID instances. |
static Map<String,Map<String,org.jasig.portal.CountID>> |
registeredIds
TreeMap from ErrorID Categories to TreeMaps. |
| Constructor Summary | |
|---|---|
ProblemsTable()
|
|
| Method Summary | |
|---|---|
static List<PortalException> |
getRecentPortalExceptions()
Get an unmodifiable shallow copy of the list of recent PortalExceptions. |
static void |
register(ErrorID id)
Add ErrorID to TreeMaps |
static void |
store(PortalException pe)
Store a PortalException in the tables. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static Map<String,Map<String,org.jasig.portal.CountID>> registeredIds
public static LinkedList<org.jasig.portal.CountID> recentIds
public static final String MAX_RECENT_ERRORS_PER_SPECIFIC_PROPERTY
public static final String OVERALL_RECENT_ERRORS_PROPERTY
| Constructor Detail |
|---|
public ProblemsTable()
| Method Detail |
|---|
public static void register(ErrorID id)
id - ErrorID (ignored if duplicate)public static void store(PortalException pe)
pe - PortalException to be tabulatedpublic static List<PortalException> getRecentPortalExceptions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||