## org.hibernate.testing.byteman
Class BytemanHelper

    java.lang.Object
      org.jboss.byteman.rule.helper.Helper
          org.hibernate.testing.byteman.BytemanHelper

    public class BytemanHelper

extends org.jboss.byteman.rule.helper.Helper

Field Summary
`static AtomicInteger` `counter`

Fields inherited from class org.jboss.byteman.rule.helper.Helper
`rule`

Constructor Summary
`protected` `BytemanHelper(org.jboss.byteman.rule.Rule rule)`

Method Summary
`void` `countInvocation()`
`static int` `getAndResetInvocationCount()`
`void` `sleepASecond()`
`void` `throwNPE(String message)`

Methods inherited from class org.jboss.byteman.rule.helper.Helper

`activated, addCountDown, callerCheck, callerEquals, callerEquals, callerEquals, callerEquals, callerEquals, callerEquals, callerEquals, callerEquals, callerEquals, callerMatches, callerMatches, callerMatches, callerMatches, callerMatches, callerMatches, callerMatches, callerMatches, callerMatches, clear, closeTrace, countDown, createCountDown, createCounter, createCounter, createJoin, createRendezvous, createRendezvous, createTimer, deactivated, debug, decrementCounter, delay, deleteCounter, deleteRendezvous, deleteTimer, flag, flagged, formatStack, formatStack, formatStack, formatStack, formatStackBetween, formatStackBetween, formatStackBetween, formatStackBetween, formatStackBetween, formatStackBetween, formatStackBetweenMatches, formatStackBetweenMatches, formatStackBetweenMatches, formatStackBetweenMatches, formatStackBetweenMatches, formatStackBetweenMatches, formatStackMatching, formatStackMatching, formatStackMatching, formatStackMatching, formatStackMatching, formatStackMatching, formatStackRange, getCountDown, getElapsedTimeFromTimer, getRendezvous, getStack, incrementCounter, incrementCounter, installed, isCountDown, isJoin, isRendezvous, joinEnlist, joinWait, killJVM, killJVM, killThread, matchIndex, openTrace, openTrace, printFrame, printlnFrame, readCounter, readCounter, rendezvous, resetTimer, setTriggering, signalKill, signalKill, signalThrow, signalThrow, signalWake, signalWake, toString, trace, trace, traceClose, traceln, traceln, traceOpen, traceOpen, traceStack, traceStack, traceStack, traceStack, traceStack, traceStack, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackRange, triggerIndex, uninstalled, waitFor, waitFor, waiting`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### counter

    public static final AtomicInteger counter

Constructor Detail

### BytemanHelper

    protected BytemanHelper(org.jboss.byteman.rule.Rule rule)

Method Detail

### sleepASecond

    public void sleepASecond()

### throwNPE

    public void throwNPE(String message)

### countInvocation

    public void countInvocation()

### getAndResetInvocationCount

    public static int getAndResetInvocationCount()

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.