public final class RAMRelationsCache extends Object implements RelationsCache
Constructor and Description |
---|
RAMRelationsCache() |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
<T extends RawEntity<K>,K> |
get(RawEntity<?> from,
Class<T> toType,
Class<? extends RawEntity<?>> throughType,
String[] fields,
String where) |
void |
put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields,
String where) |
void |
remove(Class<? extends RawEntity<?>>... types) |
void |
remove(RawEntity<?> entity,
String[] fields) |
public <T extends RawEntity<K>,K> T[] get(RawEntity<?> from, Class<T> toType, Class<? extends RawEntity<?>> throughType, String[] fields, String where)
get
in interface RelationsCache
public void put(RawEntity<?> from, RawEntity<?>[] through, Class<? extends RawEntity<?>> throughType, RawEntity<?>[] to, Class<? extends RawEntity<?>> toType, String[] fields, String where)
put
in interface RelationsCache
public void remove(Class<? extends RawEntity<?>>... types)
remove
in interface RelationsCache
public void remove(RawEntity<?> entity, String[] fields)
remove
in interface RelationsCache
public void flush()
flush
in interface RelationsCache
Copyright © 2007-2012. All Rights Reserved.