Skip to content

Commit

Permalink
UI/filtering enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
jskupsik committed Dec 12, 2024
1 parent 4eb6e0e commit 14a390c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class DistributedObjectAdminService extends BaseService {
}

private List<DistributedObjectInfo> listDistributedObjects() {
// Services and their resources
Map<String, BaseService> svcs = grailsApplication.mainContext.getBeansOfType(BaseService.class, false, false)
def resourceObjs = svcs.collectMany { _, svc ->
def svcName = svc.class.getName()
Expand All @@ -44,7 +45,7 @@ class DistributedObjectAdminService extends BaseService {
comparisonFields: svc.comparisonFields,
adminStats: svc.adminStats
),
// Resources, excluding DistributedObject
// Resources, excluding those that are also DistributedObject
*svc.resources.findAll { k, v -> !(v instanceof DistributedObject)}.collect { k, v ->
new DistributedObjectInfo(
name: svc.hzName(k),
Expand Down Expand Up @@ -73,6 +74,7 @@ class DistributedObjectAdminService extends BaseService {
def all = clusterService.distributedObjects
names.each { name ->
def obj = all.find { it.getName() == name }
/** Keep in sync with frontend clear set - `DistributedObjectsModel.clearableTypes`. */
if (obj instanceof ReplicatedMap ||
obj instanceof IMap ||
obj instanceof CacheProxy ||
Expand Down

0 comments on commit 14a390c

Please sign in to comment.