1 <div id="page-content" style=" width: 100%">
4 <h1 class="heading-page" id="CacheRegions">Cache Regions</h1>
7 <div style="margin-right:20px; text-align:justify; text-align-last:auto;">
9 These are the regions which are currently defined in the cache. 'Items' and 'Bytes' refer to the elements currently in memory (not spooled).
10 You can clear all items for a region by clicking on the Clear icon next to the desired region below. You can also <a href="admin#/jcs_admin" ng-click="clearAllFuncPopUp();">clear all regions</a>
11 which empties the entire cache.</p>
14 <!-- This implements an accordion table in place -->
15 <div style="border-top: 1px solid #c4c4c4; margin-top: 0px; margin-bottom:30px; margin-right: 20px; background-color: #fff; padding: 10px 0; color: #646464s">
16 <div class="row" style="margin: 0 20px 10px 0px; float: left; width: 97%;">
17 <div class="col-md-4" style=" width: 16.6666666667%;"><b>Cache Name</b></div>
18 <div class="col-md-2" style=" width: 8.3333333333%;"><b># of Items</b></div>
19 <div class="col-md-2" style=" width: 8.3333333333%;"><b>Bytes</b></div>
20 <div class="col-md-2" style=" width: 8.3333333333%;"><b>Status</b></div>
21 <div class="col-md-3" style=" width: 12.5%;"><b>Memory Hits</b></div>
22 <div class="col-md-3" style=" width: 12.5%;"><b>Aux Hits</b></div>
23 <div class="col-md-3" style=" width: 12.5%;"><b>Not Found Misses</b></div>
24 <div class="col-md-3" style=" width:12.5%;"><b>Expired Misses</b></div>
25 <div class="col-md-1" style=" width: 4.1666666667%;"><b>Clear?</b></div>
26 <div class="col-md-1" style=" width: 4.1666666667%;"><b>Items</b></div>
29 <div ng-repeat="region in regions">
30 <div class="row" style="margin: 0 20px 10px 0px; float: left; width: 97%;">
31 <div class="col-md-4" style=" width: 16.6666666667%;">
32 <a b2b-tooltip="Click to Show Region Details" ng-click="showRegionDetails(region.cacheName);" href="admin#/jcs_admin">{{region.cacheName}}</a></div>
33 <div class="col-md-2" style=" width: 8.3333333333%;">{{region.size}}</div>
34 <div class="col-md-2" style=" width: 8.3333333333%;">{{region.byteCount}}</div>
35 <div class="col-md-2" style=" width: 8.3333333333%;">{{region.status}}</div>
36 <div class="col-md-3" style=" width: 12.5%;">{{region.hitCountRam}}</div>
37 <div class="col-md-3" style=" width: 12.5%;">{{region.hitCountAux}}</div>
38 <div class="col-md-3" style=" width: 12.5%;">{{region.missCountNotFound}}</div>
39 <div class="col-md-3" style=" width: 12.5%;">{{region.missCountExpired}}</div>
40 <div class="col-md-1" style=" width: 4.1666666667%;">
41 <div ng-click="clearRegionFuncPopUp(region.cacheName);" style="font-size:20px;">
42 <a href="javascript:void(0)" class="icon-misc-trash"></a></div>
44 <div class="col-md-1"><i class="icon-primary-accordion-plus" ng-class="{true: 'icon-primary-accordion-plus', false: 'icon-primary-accordion-minus'}[ !bling$index]" ng-click="bling$index = !bling$index" style="display: block;"></i></div>
46 <div class="row" style="margin: 0px 20px 0px 30px; float: left; width: 95%; border-top: 1px solid #e4e4e4; padding-top: 10px"
47 ng-show="bling$index">
48 <span style="height: 20px; width: 20px; display: inline-block; float: left"></span>
49 <div class="col-md-12" style=" width: 50%;"><b>Key</b></div>
50 <div class="col-md-2" style=" width: 8.3333333333%"><b>Eternal?</b></div>
51 <div class="col-md-4" style=" width: 16.6666666667%;"><b>Created</b></div>
52 <div class="col-md-2" style=" width: 8.3333333333%;"><b>Max Life</b></div>
53 <div class="col-md-2" style=" width: 8.3333333333%;"><b>Expires</b></div>
54 <div class="col-md-1" style=" width: 4.1666666667%;"><b>Clear?</b></div>
56 <div ng-repeat="item in region.items">
57 <div class="row" style="margin: 0px 20px 0px 30px; float: left; width: 95%;" ng-show="bling$index">
58 <span style="height: 20px; width: 20px; display: inline-block; float: left"></span>
59 <div class="col-md-12" style=" width: 50%;"><a href="#" tooltip="Click to Show Item Details" ng-click="showItemDetails(region.cacheName,item.key);">{{item.key}}</a></div>
60 <div class="col-md-2" style=" width: 8.3333333333%;">{{item.eternal}}</div>
61 <div class="col-md-4" style=" width: 16.6666666667%;">{{item.createTime}}</div>
62 <div class="col-md-2" style=" width: 8.3333333333%;">{{item.maxLifeSeconds}}</div>
63 <div class="col-md-2" style=" width: 8.3333333333%;">{{item.expiresInSeconds}}</div>
64 <div class="col-md-1" style=" width: 4.1666666667%;">
65 <div ng-click="clearItemFuncPopUp(region.cacheName,item.key);" style="font-size:20px;"><a href="javascript:void(0)" class="icon-misc-trash"></a></div>
69 <div style="clear: both"></div>