public class NodeReplicationPolicyChecker
extends java.lang.Object
Constructor and Description |
---|
NodeReplicationPolicyChecker() |
Modifier and Type | Method and Description |
---|---|
static boolean |
check(org.dataone.service.types.v1.NodeReference sourceNode,
org.dataone.service.types.v1.SystemMetadata sysmeta)
Check if a given object with the system meta data and from the source node can be stored as a replica
|
static void |
refresh()
Refresh those properties from the metacat.peroperties file
|
public static boolean check(org.dataone.service.types.v1.NodeReference sourceNode, org.dataone.service.types.v1.SystemMetadata sysmeta) throws org.dataone.service.exceptions.InvalidRequest
sourceNode
- the source node where the replica comes fromsysmeta
- the system meta data of the replicaorg.dataone.service.exceptions.InvalidRequest
public static void refresh()
Copyright © 2023 Regents of the University of California. All Rights Reserved.