public class CacheStatus extends Status
| Constructor and Description |
|---|
CacheStatus(Exception e)
Creates a new instance when cache statistics are unavailable due to given exception.
|
CacheStatus(StatusCode code,
String description,
CacheStatistics... statistics)
Creates a new instance describing cache status.
|
| Modifier and Type | Method and Description |
|---|---|
CacheStatistics[] |
getStatistics()
Gets the current cache statistics.
|
getCode, getDescriptionpublic CacheStatus(StatusCode code, String description, CacheStatistics... statistics)
code - Status code.description - Optional status description.statistics - One or more sets of cache statistics.public CacheStatus(Exception e)
e - Cause of unavailable statistics.public CacheStatistics[] getStatistics()
Copyright © 2004-2014 Jasig. All Rights Reserved.