def ExpireBreakpoint(self):
    """Expires this breakpoint."""
    # Let only one thread capture the data and complete the breakpoint.
    if not self._SetCompleted():
      return

    if self.definition.get('action') == 'LOG':
      message = ERROR_AGE_LOGPOINT_EXPIRED_0
    else:
      message = ERROR_AGE_SNAPSHOT_EXPIRED_0
    self._CompleteBreakpoint({
        'status': {
            'isError': True,
            'refersTo': 'BREAKPOINT_AGE',
            'description': {'format': message}}})
def ExpireBreakpoint ( self ) : if not self . _SetCompleted ( ) : return if self . definition . get ( 'action' ) == 'LOG' : message = ERROR_AGE_LOGPOINT_EXPIRED_0 else : message = ERROR_AGE_SNAPSHOT_EXPIRED_0 self . _CompleteBreakpoint ( { 'status' : { 'isError' : True , 'refersTo' : 'BREAKPOINT_AGE' , 'description' : { 'format' : message } } } )
Expires this breakpoint.