net.stepniak.api.auth.repository.memory
Class InMemorySessionRepository
java.lang.Object
net.stepniak.api.auth.repository.memory.InMemorySessionRepository
- All Implemented Interfaces:
- SessionRepository
public final class InMemorySessionRepository
- extends Object
- implements SessionRepository
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemorySessionRepository
public InMemorySessionRepository()
save
public <Entity extends SessionEntity> Entity save(Entity entity)
save
public <Entity extends SessionEntity> Iterable<Entity> save(Iterable<Entity> entities)
findOne
public SessionEntity findOne(String id)
exists
public boolean exists(String id)
findAll
public Iterable<SessionEntity> findAll()
findAll
public Iterable<SessionEntity> findAll(Iterable<String> strings)
count
public long count()
delete
public void delete(String id)
delete
public void delete(SessionEntity entity)
delete
public void delete(Iterable<? extends SessionEntity> entities)
deleteAll
public void deleteAll()
Copyright © 2013. All Rights Reserved.