# getLocalMergedPodDefinition method

1. @protected

RootPodDefinition getLocalMergedPodDefinition(

1. String name

)

Returns the locally cached merged pod definition if available and not stale.

This method provides efficient access to cached pod definitions while ensuring stale definitions are re-merged when necessary.

`name` the name of the pod to get the definition for Returns the cached RootPodDefinition or fetches a fresh one if needed

## Implementation

    @protected
    RootPodDefinition getLocalMergedPodDefinition(String name) {
      // Quick check on the map first, with minimal locking.
    		final root = _mergedPodDefinitions[name];
    		if (root != null && !root.getIsStale()) {
    			return root;
    		}

    		return getMergedPodDefinition(name);
    }