public class InMemoryTraceRepository extends Object implements TraceRepository
TraceRepository
.Constructor and Description |
---|
InMemoryTraceRepository() |
public void setCapacity(int capacity)
capacity
- the capacity to setpublic List<Trace> findAll()
TraceRepository
Trace
objects contained in the repository.findAll
in interface TraceRepository
public void add(Map<String,Object> map)
TraceRepository
Trace
object at the current time.add
in interface TraceRepository
map
- trace informationCopyright © 2014. All rights reserved.