Skip to content

Commit

Permalink
Deploy motorro/RxLceModel to github.com/motorro/RxLceModel.git:master
Browse files Browse the repository at this point in the history
  • Loading branch information
traviscibot committed Aug 19, 2020
1 parent 21d3e7e commit d0a53ad
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Serializes and deserializes [Serializable](http://docs.oracle.com/javase/6/docs/
| Name | Summary |
|---|---|
| [deserializeSnapshot](deserialize-snapshot.md) | `fun deserializeSnapshot(input: `[`InputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html)`, length: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, invalidated: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`Entity`](../../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`D`](index.md#D)`>?`<br>Deserializes [Entity](../../../com.motorro.rxlcemodel.base.entity/-entity/index.md) from [input](deserialize-snapshot.md#com.motorro.rxlcemodel.base.service.CacheDelegateSerializerDeserializer.WithObjectStream$deserializeSnapshot(java.io.InputStream, kotlin.Long, kotlin.Boolean)/input) stream |
| [serialize](serialize.md) | `fun serialize(entity: `[`Entity`](../../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`D`](index.md#D)`>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Serializes [entity](serialize.md#com.motorro.rxlcemodel.base.service.CacheDelegateSerializerDeserializer.WithObjectStream$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.base.service.CacheDelegateSerializerDeserializer.WithObjectStream.D)), java.io.OutputStream)/entity) to [output](serialize.md#com.motorro.rxlcemodel.base.service.CacheDelegateSerializerDeserializer.WithObjectStream$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.base.service.CacheDelegateSerializerDeserializer.WithObjectStream.D)), java.io.OutputStream)/output) stream |
| [serialize](serialize.md) | `fun serialize(entity: `[`Entity`](../../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`D`](index.md#D)`>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): <ERROR CLASS>`<br>Serializes [entity](serialize.md#com.motorro.rxlcemodel.base.service.CacheDelegateSerializerDeserializer.WithObjectStream$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.base.service.CacheDelegateSerializerDeserializer.WithObjectStream.D)), java.io.OutputStream)/entity) to [output](serialize.md#com.motorro.rxlcemodel.base.service.CacheDelegateSerializerDeserializer.WithObjectStream$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.base.service.CacheDelegateSerializerDeserializer.WithObjectStream.D)), java.io.OutputStream)/output) stream |
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# serialize

`fun serialize(entity: `[`Entity`](../../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`D`](index.md#D)`>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun serialize(entity: `[`Entity`](../../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`D`](index.md#D)`>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): <ERROR CLASS>`

Overrides [CacheDelegateSerializerDeserializer.serialize](../serialize.md)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Serializes and deserializes [Serializable](http://docs.oracle.com/javase/6/docs/
| Name | Summary |
|---|---|
| [deserializeSnapshot](deserialize-snapshot.md) | `fun deserializeSnapshot(input: `[`InputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html)`, length: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, invalidated: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`Entity`](../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`DataWithCacheKey`](../-data-with-cache-key/index.md)`<`[`D`](index.md#D)`>>?`<br>Deserializes [Entity](../../com.motorro.rxlcemodel.base.entity/-entity/index.md) from [input](deserialize-snapshot.md#com.motorro.rxlcemodel.base.service.WithObjectStreamAndCacheKey$deserializeSnapshot(java.io.InputStream, kotlin.Long, kotlin.Boolean)/input) stream |
| [serialize](serialize.md) | `fun serialize(entity: `[`Entity`](../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`DataWithCacheKey`](../-data-with-cache-key/index.md)`<`[`D`](index.md#D)`>>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Serializes [entity](serialize.md#com.motorro.rxlcemodel.base.service.WithObjectStreamAndCacheKey$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.base.service.DataWithCacheKey((com.motorro.rxlcemodel.base.service.WithObjectStreamAndCacheKey.D)))), java.io.OutputStream)/entity) to [output](serialize.md#com.motorro.rxlcemodel.base.service.WithObjectStreamAndCacheKey$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.base.service.DataWithCacheKey((com.motorro.rxlcemodel.base.service.WithObjectStreamAndCacheKey.D)))), java.io.OutputStream)/output) stream |
| [serialize](serialize.md) | `fun serialize(entity: `[`Entity`](../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`DataWithCacheKey`](../-data-with-cache-key/index.md)`<`[`D`](index.md#D)`>>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): <ERROR CLASS>`<br>Serializes [entity](serialize.md#com.motorro.rxlcemodel.base.service.WithObjectStreamAndCacheKey$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.base.service.DataWithCacheKey((com.motorro.rxlcemodel.base.service.WithObjectStreamAndCacheKey.D)))), java.io.OutputStream)/entity) to [output](serialize.md#com.motorro.rxlcemodel.base.service.WithObjectStreamAndCacheKey$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.base.service.DataWithCacheKey((com.motorro.rxlcemodel.base.service.WithObjectStreamAndCacheKey.D)))), java.io.OutputStream)/output) stream |
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# serialize

`fun serialize(entity: `[`Entity`](../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`DataWithCacheKey`](../-data-with-cache-key/index.md)`<`[`D`](index.md#D)`>>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun serialize(entity: `[`Entity`](../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`DataWithCacheKey`](../-data-with-cache-key/index.md)`<`[`D`](index.md#D)`>>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): <ERROR CLASS>`

Overrides [CacheDelegateSerializerDeserializer.serialize](../-cache-delegate-serializer-deserializer/serialize.md)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# HEX_CHARS

`val HEX_CHARS: `[`CharArray`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-array/index.html)
`val HEX_CHARS: <ERROR CLASS>`

Hex characters

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# createDefaultDelegatePrefix

`fun <T : `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`> createDefaultDelegatePrefix(cls: `[`Class`](http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html)`<`[`T`](create-default-delegate-prefix.md#T)`>): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
`fun <T : `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`> createDefaultDelegatePrefix(cls: `[`Class`](http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html)`<`[`T`](create-default-delegate-prefix.md#T)`>): <ERROR CLASS>`

Default delegate prefix for type

4 changes: 2 additions & 2 deletions docs/com.motorro.rxlcemodel.disklrucache/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

| Name | Summary |
|---|---|
| [HEX_CHARS](-h-e-x_-c-h-a-r-s.md) | `val HEX_CHARS: `[`CharArray`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-array/index.html)<br>Hex characters |
| [HEX_CHARS](-h-e-x_-c-h-a-r-s.md) | `val HEX_CHARS: <ERROR CLASS>`<br>Hex characters |

### Functions

| Name | Summary |
|---|---|
| [createDefaultDelegatePrefix](create-default-delegate-prefix.md) | `fun <T : `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`> createDefaultDelegatePrefix(cls: `[`Class`](http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html)`<`[`T`](create-default-delegate-prefix.md#T)`>): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>Default delegate prefix for type |
| [createDefaultDelegatePrefix](create-default-delegate-prefix.md) | `fun <T : `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`> createDefaultDelegatePrefix(cls: `[`Class`](http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html)`<`[`T`](create-default-delegate-prefix.md#T)`>): <ERROR CLASS>`<br>Default delegate prefix for type |
| [createDelegate](create-delegate.md) | `fun <D : `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`, P : `[`CacheFriend`](../com.motorro.rxlcemodel.base.service/-cache-friend/index.md)`> `[`DiskLruCacheProvider`](-disk-lru-cache-sync-delegate/-disk-lru-cache-provider/index.md)`.createDelegate(prefix: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, sd: `[`CacheDelegateSerializerDeserializer`](../com.motorro.rxlcemodel.base.service/-cache-delegate-serializer-deserializer/index.md)`<`[`D`](create-delegate.md#D)`>): `[`Delegate`](../com.motorro.rxlcemodel.base.service/-sync-delegate-cache-service/-delegate/index.md)`<`[`D`](create-delegate.md#D)`, `[`P`](create-delegate.md#P)`>`<br>`fun <D : `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`, P : `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`> `[`DiskLruCacheProvider`](-disk-lru-cache-sync-delegate/-disk-lru-cache-provider/index.md)`.createDelegate(prefix: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, sd: `[`CacheDelegateSerializerDeserializer`](../com.motorro.rxlcemodel.base.service/-cache-delegate-serializer-deserializer/index.md)`<`[`D`](create-delegate.md#D)`>, stringify: `[`P`](create-delegate.md#P)`.() -> `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Delegate`](../com.motorro.rxlcemodel.base.service/-sync-delegate-cache-service/-delegate/index.md)`<`[`D`](create-delegate.md#D)`, `[`P`](create-delegate.md#P)`>`<br>Creates DiskLRU caching delegate for [SyncDelegateCacheService](../com.motorro.rxlcemodel.base.service/-sync-delegate-cache-service/index.md) Delegate uses cache directory provided by [DiskLruCacheProvider](-disk-lru-cache-sync-delegate/-disk-lru-cache-provider/index.md). This directory is designed to be shared between several delegates. Thus we need to provide each delegate an unique [DiskLruCacheSyncDelegate.prefix](#) to not to mix data with other delegates. The [DiskLruCacheSyncDelegate.sd](#) is a serializer/deserializer that saves/restores entity from file streams. |
| [createNormalizedDelegate](create-normalized-delegate.md) | `fun <D : `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`, P : `[`CacheFriend`](../com.motorro.rxlcemodel.base.service/-cache-friend/index.md)`> `[`DiskLruCacheProvider`](-disk-lru-cache-sync-delegate/-disk-lru-cache-provider/index.md)`.createNormalizedDelegate(prefix: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, sd: `[`CacheDelegateSerializerDeserializer`](../com.motorro.rxlcemodel.base.service/-cache-delegate-serializer-deserializer/index.md)`<`[`DataWithCacheKey`](../com.motorro.rxlcemodel.base.service/-data-with-cache-key/index.md)`<`[`D`](create-normalized-delegate.md#D)`>>): `[`Delegate`](../com.motorro.rxlcemodel.base.service/-sync-delegate-cache-service/-delegate/index.md)`<`[`D`](create-normalized-delegate.md#D)`, `[`P`](create-normalized-delegate.md#P)`>`<br>Creates DiskLRU caching delegate for [SyncDelegateCacheService](../com.motorro.rxlcemodel.base.service/-sync-delegate-cache-service/index.md) with cache key normalizing and check. Delegate uses cache directory provided by [DiskLruCacheProvider](-disk-lru-cache-sync-delegate/-disk-lru-cache-provider/index.md). This directory is designed to be shared between several delegates. Thus we need to provide each delegate an unique [DiskLruCacheSyncDelegate.prefix](#) to not to mix data with other delegates. The [DiskLruCacheSyncDelegate.sd](#) is a serializer/deserializer that saves/restores entity from file streams.`fun <D : `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`, P : `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`> `[`DiskLruCacheProvider`](-disk-lru-cache-sync-delegate/-disk-lru-cache-provider/index.md)`.createNormalizedDelegate(prefix: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, sd: `[`CacheDelegateSerializerDeserializer`](../com.motorro.rxlcemodel.base.service/-cache-delegate-serializer-deserializer/index.md)`<`[`DataWithCacheKey`](../com.motorro.rxlcemodel.base.service/-data-with-cache-key/index.md)`<`[`D`](create-normalized-delegate.md#D)`>>, stringify: `[`P`](create-normalized-delegate.md#P)`.() -> `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Delegate`](../com.motorro.rxlcemodel.base.service/-sync-delegate-cache-service/-delegate/index.md)`<`[`D`](create-normalized-delegate.md#D)`, `[`P`](create-normalized-delegate.md#P)`>`<br>Creates DiskLRU caching delegate for [SyncDelegateCacheService](../com.motorro.rxlcemodel.base.service/-sync-delegate-cache-service/index.md) with cache key normalizing and check Delegate uses cache directory provided by [DiskLruCacheProvider](-disk-lru-cache-sync-delegate/-disk-lru-cache-provider/index.md). This directory is designed to be shared between several delegates. Thus we need to provide each delegate an unique [DiskLruCacheSyncDelegate.prefix](#) to not to mix data with other delegates. The [DiskLruCacheSyncDelegate.sd](#) is a serializer/deserializer that saves/restores entity from file streams. |
| [getNormalizedKey](get-normalized-key.md) | `fun `[`CacheFriend`](../com.motorro.rxlcemodel.base.service/-cache-friend/index.md)`.getNormalizedKey(prefix: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>Checks [CacheFriend.cacheKey](../com.motorro.rxlcemodel.base.service/-cache-friend/cache-key.md) if it fits to [com.jakewharton.disklrucache.DiskLruCache](#) key requirements and hashes it if not |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Serializes and deserializes objects with [kotlinx.serialization.KSerializer](#)
| Name | Summary |
|---|---|
| [deserializeSnapshot](deserialize-snapshot.md) | `fun deserializeSnapshot(input: `[`InputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html)`, length: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, invalidated: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`Entity`](../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`D`](index.md#D)`>?`<br>Deserializes [Entity](../../com.motorro.rxlcemodel.base.entity/-entity/index.md) snapshot from [input](deserialize-snapshot.md#com.motorro.rxlcemodel.kserializer.KotlinCacheDelegateSerializer$deserializeSnapshot(java.io.InputStream, kotlin.Long, kotlin.Boolean)/input) stream Snapshots are used because the validity status is only actual when we are getting cached data. https://github.com/motorro/RxLceModel/issues/5 |
| [serialize](serialize.md) | `fun serialize(entity: `[`Entity`](../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`D`](index.md#D)`>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Serializes [entity](serialize.md#com.motorro.rxlcemodel.kserializer.KotlinCacheDelegateSerializer$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.kserializer.KotlinCacheDelegateSerializer.D)), java.io.OutputStream)/entity) to [output](serialize.md#com.motorro.rxlcemodel.kserializer.KotlinCacheDelegateSerializer$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.kserializer.KotlinCacheDelegateSerializer.D)), java.io.OutputStream)/output) stream |
| [serialize](serialize.md) | `fun serialize(entity: `[`Entity`](../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`D`](index.md#D)`>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): <ERROR CLASS>`<br>Serializes [entity](serialize.md#com.motorro.rxlcemodel.kserializer.KotlinCacheDelegateSerializer$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.kserializer.KotlinCacheDelegateSerializer.D)), java.io.OutputStream)/entity) to [output](serialize.md#com.motorro.rxlcemodel.kserializer.KotlinCacheDelegateSerializer$serialize(com.motorro.rxlcemodel.base.entity.Entity((com.motorro.rxlcemodel.kserializer.KotlinCacheDelegateSerializer.D)), java.io.OutputStream)/output) stream |
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# serialize

`fun serialize(entity: `[`Entity`](../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`D`](index.md#D)`>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun serialize(entity: `[`Entity`](../../com.motorro.rxlcemodel.base.entity/-entity/index.md)`<`[`D`](index.md#D)`>, output: `[`OutputStream`](http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html)`): <ERROR CLASS>`

Overrides [CacheDelegateSerializerDeserializer.serialize](../../com.motorro.rxlcemodel.base.service/-cache-delegate-serializer-deserializer/serialize.md)

Expand Down

0 comments on commit d0a53ad

Please sign in to comment.