INNER CODE UNIT · Java

getCompensation

jolie/jolie · jolie/src/main/java/jolie/ExecutionThread.java:144

		public Process getCompensation( String scopeName ) {
			Process p = compMap.get( scopeName );
			if( p != null )
				compMap.remove( scopeName );
			return p;
		}

		/**
		 * Puts all the compensation handlers defined in the passed <code>Scope</code> in the handler map of
		 * this scope.
		 *
		 * @param otherScope the scope whose compensation handlers are to be taken
		 */
		public void mergeCompensations( Scope otherScope ) {
			compMap.putAll( otherScope.compMap );
		}
	}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…