public class StatsEJB extends Object implements StatsLocal, StatsRemote
Modifier and Type | Field and Description |
---|---|
private int |
delta |
(package private) static org.apache.commons.logging.Log |
log |
private int |
total |
Constructor and Description |
---|
StatsEJB() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getDelta() |
int |
getTotal()
An example read method that the container will protect from other
write methods, but allow concurrent read access.
|
void |
init() |
void |
open()
An example of a write method that the container will protect against
other write and readers.
|
void |
reset() |
static final org.apache.commons.logging.Log log
private int delta
private int total
@PostConstruct public void init()
public void open()
public int getTotal()
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.