static JobContext copy ( ) { JobContext current = current_ . get ( ) ; //JobContext ctxt = new JobContext(keepParent ? current : null); JobContext ctxt = new JobContext ( null ) ; if ( null != current ) { ctxt . bag_ . putAll ( current . bag_ ) ; } return ctxt ; }
Make a copy of JobContext of current thread