public class CriticalMeasure extends Object
Constructor and Description |
---|
CriticalMeasure(CriticalComponent component,
int id) |
Modifier and Type | Method and Description |
---|---|
void |
enterCritical() |
long |
enterTime() |
protected String |
getComponentName() |
boolean |
isExpired(long timeout) |
void |
leaveCritical() |
long |
leaveTime() |
public CriticalMeasure(CriticalComponent component, int id)
public void enterCritical()
public void leaveCritical()
protected String getComponentName()
public boolean isExpired(long timeout)
public long enterTime()
public long leaveTime()
Copyright © 2019 JBoss by Red Hat. All rights reserved.