MemCacheManager class
In memory database implementation benefits: very fast drawbacks: does not persist
- Implemented types
Constructors
Properties
-
contactLists
↔ Map<
String, ContactList> -
getter/setter pair
-
events
↔ Map<
String, Nip01Event> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadatas
↔ Map<
String, Metadata> -
getter/setter pair
-
nip05s
↔ Map<
String, Nip05> -
getter/setter pair
-
relaySets
↔ Map<
String, RelaySet> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
userRelayLists
↔ Map<
String, UserRelayList> -
getter/setter pair
Methods
-
loadContactList(
String pubKey) → Future< ContactList?> -
override
-
loadEvent(
String id) → Future< Nip01Event?> -
override
-
loadEvents(
{List< String> ? pubKeys, List<int> ? kinds, String? pTag, int? since, int? until}) → Future<List< Nip01Event> > -
override
-
loadMetadata(
String pubKey) → Future< Metadata?> -
override
-
loadMetadatas(
List< String> pubKeys) → Future<List< Metadata?> > -
override
-
loadNip05(
String pubKey) → Future< Nip05?> -
override
-
loadNip05s(
List< String> pubKeys) → Future<List< Nip05?> > -
override
-
loadRelaySet(
String name, String pubKey) → Future< RelaySet?> -
override
-
loadUserRelayList(
String pubKey) → Future< UserRelayList?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAllContactLists(
) → Future< void> -
override
-
removeAllEvents(
) → Future< void> -
override
-
removeAllEventsByPubKey(
String pubKey) → Future< void> -
override
-
removeAllMetadatas(
) → Future< void> -
override
-
removeAllNip05s(
) → Future< void> -
override
-
removeAllRelaySets(
) → Future< void> -
override
-
removeAllUserRelayLists(
) → Future< void> -
override
-
removeContactList(
String pubKey) → Future< void> -
override
-
removeEvent(
String id) → Future< void> -
override
-
removeMetadata(
String pubKey) → Future< void> -
override
-
removeNip05(
String pubKey) → Future< void> -
override
-
removeRelaySet(
String name, String pubKey) → Future< void> -
override
-
removeUserRelayList(
String pubKey) → Future< void> -
override
-
saveContactList(
ContactList contactList) → Future< void> -
override
-
saveContactLists(
List< ContactList> list) → Future<void> -
override
-
saveEvent(
Nip01Event event) → Future< void> -
override
-
saveEvents(
List< Nip01Event> events) → Future<void> -
override
-
saveMetadata(
Metadata metadata) → Future< void> -
override
-
saveMetadatas(
List< Metadata> list) → Future<void> -
override
-
saveNip05(
Nip05 nip05) → Future< void> -
override
-
saveNip05s(
List< Nip05> nip05s) → Future<void> -
override
-
saveRelaySet(
RelaySet relaySet) → Future< void> -
override
-
saveUserRelayList(
UserRelayList userRelayList) → Future< void> -
override
-
saveUserRelayLists(
List< UserRelayList> userRelayLists) → Future<void> -
override
-
searchMetadatas(
String search, int limit) → Future< Iterable< Metadata> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited