## Uses of Class
net.i2p.data.DatabaseEntry

- Packages that use DatabaseEntry
  Package | Description
  --- | ---
  net.i2p.data | These classes define the common data structures used by the various I2P protocols.
  net.i2p.data.i2np | The Invisible Internet Network Protocol (I2NP) is only a part of how an application can send messages over the network.
  net.i2p.router | The I2P router application handles the I2P network communication.
  net.i2p.router.networkdb.kademlia |

- - ### Uses of DatabaseEntry in net.i2p.data

    Subclasses of DatabaseEntry in net.i2p.data
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LeaseSet` Defines the set of leases a destination currently has.
    `class` | `RouterInfo` Defines the data that a router either publishes to the global routing table or provides to trusted peers.

  - ### Uses of DatabaseEntry in net.i2p.data.i2np

    Methods in net.i2p.data.i2np that return DatabaseEntry
    Modifier and Type | Method and Description
    --- | ---
    `DatabaseEntry` | DatabaseStoreMessage.`getEntry()` Defines the entry in the network database being stored

    Methods in net.i2p.data.i2np with parameters of type DatabaseEntry
    Modifier and Type | Method and Description
    --- | ---
    `void` | DatabaseStoreMessage.`setEntry(DatabaseEntry entry)` This also sets the key

  - ### Uses of DatabaseEntry in net.i2p.router

    Methods in net.i2p.router that return DatabaseEntry
    Modifier and Type | Method and Description
    --- | ---
    `DatabaseEntry` | DummyNetworkDatabaseFacade.`lookupLocally(Hash key)`
    `abstract DatabaseEntry` | NetworkDatabaseFacade.`lookupLocally(Hash key)`

  - ### Uses of DatabaseEntry in net.i2p.router.networkdb.kademlia

    Methods in net.i2p.router.networkdb.kademlia that return DatabaseEntry
    Modifier and Type | Method and Description
    --- | ---
    `DatabaseEntry` | TransientDataStore.`get(Hash key)`
    `DatabaseEntry` | PersistentDataStore.`get(Hash key)`
    `DatabaseEntry` | DataStore.`get(Hash key)`
    `DatabaseEntry` | TransientDataStore.`get(Hash key, boolean persist)` for PersistentDataStore only - don't use here @throws IAE always
    `DatabaseEntry` | PersistentDataStore.`get(Hash key, boolean persist)` Prepare for having only a partial set in memory and the rest on disk
    `DatabaseEntry` | DataStore.`get(Hash key, boolean persist)`
    `DatabaseEntry` | StoreState.`getData()`
    `DatabaseEntry` | KademliaNetworkDatabaseFacade.`lookupLocally(Hash key)`
    `DatabaseEntry` | TransientDataStore.`remove(Hash key)`
    `DatabaseEntry` | PersistentDataStore.`remove(Hash key)`
    `DatabaseEntry` | DataStore.`remove(Hash key)`
    `DatabaseEntry` | TransientDataStore.`remove(Hash key, boolean persist)` for PersistentDataStore only - don't use here
    `DatabaseEntry` | PersistentDataStore.`remove(Hash key, boolean persist)`
    `DatabaseEntry` | DataStore.`remove(Hash key, boolean persist)`

    Methods in net.i2p.router.networkdb.kademlia that return types with arguments of type DatabaseEntry
    Modifier and Type | Method and Description
    --- | ---
    `Collection<DatabaseEntry>` | TransientDataStore.`getEntries()`
    `Collection<DatabaseEntry>` | DataStore.`getEntries()`
    `Set<Map.Entry<Hash,DatabaseEntry>>` | TransientDataStore.`getMapEntries()`
    `Set<Map.Entry<Hash,DatabaseEntry>>` | DataStore.`getMapEntries()`

    Methods in net.i2p.router.networkdb.kademlia with parameters of type DatabaseEntry
    Modifier and Type | Method and Description
    --- | ---
    `void` | FloodfillNetworkDatabaseFacade.`flood(DatabaseEntry ds)` Send to a subset of all floodfill peers.
    `boolean` | TransientDataStore.`put(Hash key, DatabaseEntry data)`
    `boolean` | PersistentDataStore.`put(Hash key, DatabaseEntry data)`
    `boolean` | DataStore.`put(Hash key, DatabaseEntry data)`
    `boolean` | TransientDataStore.`put(Hash key, DatabaseEntry data, boolean persist)` for PersistentDataStore only - don't use here @throws IAE always
    `boolean` | PersistentDataStore.`put(Hash key, DatabaseEntry data, boolean persist)`
    `boolean` | DataStore.`put(Hash key, DatabaseEntry data, boolean persist)`
    `void` | KademliaNetworkDatabaseFacade.`sendStore(Hash key, DatabaseEntry ds, Job onSuccess, Job onFailure, long sendTimeout, Set toIgnore)` unused (overridden in FNDF)
    `void` | FloodfillNetworkDatabaseFacade.`sendStore(Hash key, DatabaseEntry ds, Job onSuccess, Job onFailure, long sendTimeout, Set toIgnore)`

    Constructors in net.i2p.router.networkdb.kademlia with parameters of type DatabaseEntry
    Constructor and Description
    `FloodfillStoreJob(RouterContext context, FloodfillNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs)` Send a data structure to the floodfills
    `FloodfillStoreJob(RouterContext context, FloodfillNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs, Set<Hash> toSkip)`
    `StoreJob(RouterContext context, KademliaNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs)` Send a data structure to the floodfills
    `StoreJob(RouterContext context, KademliaNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs, Set<Hash> toSkip)`
    `StoreState(RouterContext ctx, Hash key, DatabaseEntry data)`
    `StoreState(RouterContext ctx, Hash key, DatabaseEntry data, Set<Hash> toSkip)`