summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/admin/cache-admin/cache-admin.component.html
blob: 8aba64c98a78516542a052008fdd753c23941ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<div id="page-content" style=" width: 100%">

	<div>
		<h1 class="heading-page" id="CacheRegions">Cache Regions</h1>
	</div>

  	<div style="margin-right:20px; text-align:justify; text-align-last:auto;">
  	<p>
  	These are the regions which are currently defined in the cache. 'Items'	and 'Bytes' refer to the elements currently in memory (not spooled).
  	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> 
  	which empties the entire cache.</p>
  	</div>
	


	  <mat-accordion displayMode="flat" multi class="mat-table">
		<section matSort class="mat-header-row">
		  <span class="mat-header-cell" >Cache Name</span>
		  <span class="mat-header-cell" ># of Items</span>
		  <span class="mat-header-cell" >Bytes</span>
		  <span class="mat-header-cell" >Status</span>
		  <span class="mat-header-cell" >Memory Hits</span>
		  <span class="mat-header-cell">Aux Hits</span>
		  <span class="mat-header-cell" >Not Expired MissesFound Misses</span>
		  <span class="mat-header-cell" >Expired Misses</span>
		  <span class="mat-header-cell" >Clear?</span>
		  <span class="mat-header-cell" >Items</span>

		</section>
		
		<mat-expansion-panel *ngFor="let item of regions">
		  <mat-expansion-panel-header >
			<span class="mat-cell"><a href="javascript:;" (click)="showRegionDetails(item.cacheName)">{{item.cacheName}}</a></span>
			<span class="mat-cell">{{item.byteCount}}</span>
			<span class="mat-cell">{{item.status}}</span>
			<span class="mat-cell">{{item.hitCountRam}}</span>
			<span class="mat-cell">{{item.hitCountAux}}</span>
			<span class="mat-cell">{{item.missCountNotFound}}</span>
			<span class="mat-cell">{{item.missCountExpired}}</span>
			<span class="mat-cell">{{item.hitCountRam}}</span>
			<span class="mat-cell">clear</span>
			<span class="mat-cell">delete</span>

		  </mat-expansion-panel-header>
		  <div><pre>{{item.items | json }}</pre></div>
		</mat-expansion-panel>
	  
	  </mat-accordion>