Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ACCESS_POINT - Enum constant in enum class com.ditto.java.DittoConnectionType
-
Wi-Fi LAN transport.
- add(byte[]) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds a byte array to the array.
- add(double) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds a double to the array.
- add(double...) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds multiple doubles to the array.
- add(float) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds a float to the array.
- add(float...) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds multiple floats to the array.
- add(int) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds an int to the array.
- add(int...) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds multiple ints to the array.
- add(long) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds a long to the array.
- add(long...) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds multiple longs to the array.
- add(DittoCborSerializable) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds a CBOR-serializable value to the array.
- add(String) - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Adds a string to the array.
- addTcpServers(String...) - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Adds TCP servers to the existing set of servers.
- addTcpServers(Collection<String>) - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Adds TCP servers to the existing set of servers.
- addWebsocketUrls(String...) - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Adds WebSocket URLs to the existing set of URLs.
- addWebsocketUrls(Collection<String>) - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Adds WebSocket URLs to the existing set of URLs.
- advertisementInterval() - Method in class com.ditto.java.transports.DittoBluetoothLeConfig.Builder
-
Returns the current advertisement interval/frequency setting.
- advertisementInterval(DittoAdvertisementFrequency) - Method in class com.ditto.java.transports.DittoBluetoothLeConfig.Builder
-
Sets the Bluetooth LE advertisement interval/frequency.
- advertisementPower() - Method in class com.ditto.java.transports.DittoBluetoothLeConfig.Builder
-
Returns the current advertisement power setting.
- advertisementPower(DittoAdvertisementPower) - Method in class com.ditto.java.transports.DittoBluetoothLeConfig.Builder
-
Sets the Bluetooth LE advertisement power.
- ALLOW - Enum constant in enum class com.ditto.java.DittoConnectionRequestAuthorization
-
The connection request will be allowed.
- APP_IN_BACKGROUND - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
The application is in the background, affecting transport availability.
- asAttachmentToken() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a
DittoAttachmentToken. - asAttachmentTokenOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a
DittoAttachmentToken, or returnsnullif conversion fails. - asBigInteger() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a
BigInteger. - asBigIntegerOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a
BigInteger, or returnsnullif conversion fails. - asBoolean() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a boolean.
- asBooleanOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a boolean, or returns
nullif conversion fails. - asByte() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a byte.
- asByteOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a byte, or returns
nullif conversion fails. - asCompleted() - Method in interface com.ditto.java.DittoAttachmentFetchResult
-
Attempts to cast this result to a Completed result.
- asCompleted() - Method in class com.ditto.java.DittoAttachmentFetchResult.Completed
-
Returns this instance as a Completed result.
- asCompleted() - Method in class com.ditto.java.DittoAttachmentFetchResult.Deleted
-
Returns null since this is not a Completed result.
- asDeleted() - Method in interface com.ditto.java.DittoAttachmentFetchResult
-
Attempts to cast this result to a Deleted result.
- asDeleted() - Method in class com.ditto.java.DittoAttachmentFetchResult.Completed
-
Returns null since this is not a Deleted result.
- asDeleted() - Method in class com.ditto.java.DittoAttachmentFetchResult.Deleted
-
Returns this instance as a Deleted result.
- asDictionary() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a
DittoCborSerializable.Dictionary. - asDictionaryOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a
DittoCborSerializable.Dictionary, or returnsnullif conversion fails. - asDouble() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a double.
- asDoubleOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a double, or returns
nullif conversion fails. - asFloat() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a float.
- asFloatOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a float, or returns
nullif conversion fails. - asInt() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an int.
- asIntOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an int, or returns
nullif conversion fails. - asList() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an
DittoCborSerializable.Array. - asListOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an
DittoCborSerializable.Array, or returnsnullif conversion fails. - asLong() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a long.
- asLongOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a long, or returns
nullif conversion fails. - asNullableBigInteger() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable
BigInteger. - asNullableBoolean() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable boolean.
- asNullableByte() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable byte.
- asNullableDictionary() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable
DittoCborSerializable.Dictionary. - asNullableDouble() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable double.
- asNullableFloat() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable float.
- asNullableInt() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable int.
- asNullableList() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable
DittoCborSerializable.Array. - asNullableLong() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable long.
- asNullableShort() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable short.
- asNullableString() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable
String. - asNullableTagged() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable
DittoCborSerializable.TaggedCBOR value. - asNullableUnsignedByte() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable unsigned byte as an int.
- asNullableUnsignedInt() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable unsigned int as a long.
- asNullableUnsignedLong() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable unsigned long.
- asNullableUnsignedShort() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a nullable unsigned short as an int.
- asShort() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a short.
- asShortOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a short, or returns
nullif conversion fails. - asString() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a
String. - asStringOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a
String, or returnsnullif conversion fails. - asTagged() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a
DittoCborSerializable.TaggedCBOR value. - asTaggedOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to a
DittoCborSerializable.TaggedCBOR value, or returnsnullif conversion fails. - asUnsignedByte() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an unsigned byte as an int (range 0-255).
- asUnsignedByteOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an unsigned byte as an int, or returns
nullif conversion fails. - asUnsignedInt() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an unsigned int as a long.
- asUnsignedIntOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an unsigned int as a long, or returns
nullif conversion fails. - asUnsignedLong() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an unsigned long as a
DittoULong. - asUnsignedLongOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an unsigned long, or returns
nullif conversion fails. - asUnsignedShort() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an unsigned short as an int (range 0-65535).
- asUnsignedShortOrNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Converts this value to an unsigned short as an int, or returns
nullif conversion fails. - AttachmentCopyTargetAlreadyExists(Throwable) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists
-
Creates an instance of a
AttachmentCopyTargetAlreadyExistsrecord class. - AttachmentDataRetrievalError(Throwable) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentDataRetrievalError
-
Creates an instance of a
AttachmentDataRetrievalErrorrecord class. - AttachmentFileCopyError(Throwable) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFileCopyError
-
Creates an instance of a
AttachmentFileCopyErrorrecord class. - AttachmentFileNotFound(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFileNotFound
-
Creates an instance of a
AttachmentFileNotFoundrecord class. - AttachmentFilePermissionDenied(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFilePermissionDenied
-
Creates an instance of a
AttachmentFilePermissionDeniedrecord class. - AttachmentNotFound(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentNotFound
-
Creates an instance of a
AttachmentNotFoundrecord class. - AttachmentTokenInvalid(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentTokenInvalid
-
Creates an instance of a
AttachmentTokenInvalidrecord class.
B
- BackendError(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.BackendError
-
Creates an instance of a
BackendErrorrecord class. - Base64Invalid(String) - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.Base64Invalid
-
Creates an instance of a
Base64Invalidrecord class. - BLE_DISABLED - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
Bluetooth is disabled on the device.
- BLUETOOTH - Enum constant in enum class com.ditto.java.DittoConditionSource
-
Bluetooth Low Energy transport.
- BLUETOOTH - Enum constant in enum class com.ditto.java.DittoConnectionType
-
Bluetooth Low Energy transport.
- bluetoothLe() - Method in class com.ditto.java.transports.DittoPeerToPeer.Builder
-
Returns the Bluetooth Low Energy configuration builder.
- bluetoothLe(DittoPeerToPeer.Builder.UpdateBluetoothLeConfig) - Method in class com.ditto.java.transports.DittoPeerToPeer.Builder
-
Configures Bluetooth Low Energy transport using a lambda.
- build() - Method in class com.ditto.java.DittoConfig.Builder
-
Builds the
DittoConfig. - build() - Method in class com.ditto.java.DittoConfig.Experimental.Builder
-
Builds the
DittoConfig.Experimentalconfiguration. - build() - Method in class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
-
Builds the immutable
DittoCborSerializable.Arrayfrom the accumulated elements. - build() - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Builds the immutable
DittoCborSerializable.Dictionaryfrom the accumulated key-value pairs. - build() - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
-
Builds the
DittoTransportConfigwith the configured settings. - buildArray() - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a new builder for constructing a CBOR array.
- buildDictionary() - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a new builder for constructing a CBOR dictionary.
- Builder() - Constructor for class com.ditto.java.DittoConfig.Experimental.Builder
-
Creates a new Experimental.Builder with default settings.
- Builder() - Constructor for class com.ditto.java.serialization.DittoCborSerializable.Array.Builder
- Builder() - Constructor for class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
- Builder() - Constructor for class com.ditto.java.transports.DittoTransportConfig.Builder
-
Constructs a new Builder with all transports disabled by default.
- Builder(String) - Constructor for class com.ditto.java.DittoConfig.Builder
-
Creates a new Builder with the specified database ID.
C
- cancel() - Method in interface com.ditto.java.DittoAsyncCancellable
-
Cancels the asynchronous operation.
- CANNOT_ESTABLISH_CONNECTION - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
Unable to establish a connection with the remote peer.
- cbor() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidDocumentStructure
-
Returns the value of the
cborrecord component. - clientInfoJSON() - Method in record class com.ditto.java.DittoAuthenticator.LoginResult
-
Returns the value of the
clientInfoJSONrecord component. - close() - Method in class com.ditto.java.Ditto
-
Shuts down Ditto and releases all resources.
- close() - Method in class com.ditto.java.DittoAttachment
- close() - Method in class com.ditto.java.DittoAttachmentFetcher
-
Stops fetching the associated attachment and cleans up any associated resources.
- close() - Method in class com.ditto.java.DittoPresenceObserver
-
Stops observing presence graph changes and unsubscribes the listener.
- close() - Method in class com.ditto.java.DittoQueryResult
-
Closes this query result and releases associated resources.
- close() - Method in class com.ditto.java.DittoQueryResultItem
-
Closes this query result item and releases associated resources.
- close() - Method in interface com.ditto.java.DittoResource
-
Closes this resource and releases any system resources associated with it.
- close() - Method in class com.ditto.java.DittoStoreObserver
-
Closes this store observer and stops monitoring for changes.
- close() - Method in class com.ditto.java.DittoSyncSubscription
-
Closes the sync subscription so that new changes matching the query are no longer received from other peers.
- com.ditto.java - package com.ditto.java
- com.ditto.java.serialization - package com.ditto.java.serialization
- com.ditto.java.transports - package com.ditto.java.transports
- Commit(T) - Constructor for class com.ditto.java.DittoTransaction.Result.Commit
-
Creates a commit result with the specified value.
- configure(DittoConfig.Experimental.Builder) - Method in interface com.ditto.java.DittoConfig.Builder.ExperimentalConfigurer
-
Configures the experimental features builder.
- connect() - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
-
Returns the connect configuration builder.
- connect(DittoConfig.Connect) - Method in class com.ditto.java.DittoConfig.Builder
-
Sets the connection configuration.
- connect(DittoTransportConfig.Builder.UpdateConnectConfig) - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
-
Configures connect transports using a lambda.
- Connect() - Constructor for class com.ditto.java.DittoConfig.Connect
- containsKey(DittoCborSerializable) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary
-
Checks if this dictionary contains the specified key.
- containsValue(DittoCborSerializable) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary
-
Checks if this dictionary contains the specified value.
- copyToPath(String) - Method in class com.ditto.java.DittoAttachment
-
Copies the attachment to the specified file path.
- CrdtError(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.CrdtError
-
Creates an instance of a
CrdtErrorrecord class. - custom(String) - Static method in class com.ditto.java.DittoAuthenticationProvider
-
Creates a custom authentication provider with the specified identifier.
D
- d(String, Object) - Static method in class com.ditto.java.DittoLog
-
Logs a debug message.
- d(String, Object, Throwable) - Static method in class com.ditto.java.DittoLog
-
Logs a debug message with an associated throwable.
- data() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeData
-
Returns the value of the
datarecord component. - databaseId(String) - Method in class com.ditto.java.DittoConfig.Builder
-
Sets the database ID.
- DEBUG - Enum constant in enum class com.ditto.java.DittoLogLevel
-
Debug log level - detailed information useful for debugging.
- dematerialize() - Method in class com.ditto.java.DittoQueryResultItem
-
Releases the materialized value from memory.
- DENY - Enum constant in enum class com.ditto.java.DittoConnectionRequestAuthorization
-
The connection request will be denied.
- DepthLimitExceeded() - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.DepthLimitExceeded
-
Creates an instance of a
DepthLimitExceededrecord class. - development() - Static method in class com.ditto.java.DittoAuthenticationProvider
-
Returns the built-in development authentication provider.
- DIRECTORY - Enum constant in enum class com.ditto.java.DittoFileSystemType
-
A directory that can contain other files and directories.
- Ditto - Class in com.ditto.java
-
Ditto is the entrypoint for accessing Ditto-related functionality in the Java SDK.
- Ditto.UpdateTransportConfig - Interface in com.ditto.java
-
Functional interface for updating transport configuration.
- DittoAddress - Class in com.ditto.java
-
An address uniquely representing another device on the Ditto network.
- DittoAdvertisementFrequency - Enum Class in com.ditto.java.transports
-
How often to transmit Bluetooth LE advertisements.
- DittoAdvertisementPower - Enum Class in com.ditto.java.transports
-
How much power to use when transmitting Bluetooth LE advertisements.
- DittoAsyncCancellable - Interface in com.ditto.java
-
Represents an asynchronous operation that can be cancelled.
- DittoAttachment - Class in com.ditto.java
-
Represents an attachment and can be used to insert the associated attachment into a document at a specific key.
- DittoAttachmentFetcher - Class in com.ditto.java
-
Manages the fetching of an attachment from remote peers.
- DittoAttachmentFetchProgressHandler - Interface in com.ditto.java
-
Callback interface for monitoring attachment fetch progress.
- DittoAttachmentFetchResult - Interface in com.ditto.java
-
The result of fetching an attachment.
- DittoAttachmentFetchResult.Completed - Class in com.ditto.java
-
Event signaling the completion of an attachment download.
- DittoAttachmentFetchResult.Deleted - Class in com.ditto.java
-
Event signaling the deletion of an attachment.
- DittoAttachmentToken - Class in com.ditto.java
-
Represents a reference token for a specific attachment in the Ditto store.
- DittoAuthenticationCallback - Interface in com.ditto.java
-
Provides feedback to the developer about Ditto authentication status.
- DittoAuthenticationProvider - Class in com.ditto.java
-
Represents a string-based authentication provider identifier used for login with Ditto.
- DittoAuthenticationStatus - Class in com.ditto.java
-
Provides information about the current authentication status.
- DittoAuthenticator - Class in com.ditto.java
-
Handles authentication with Ditto Cloud for remote synchronization.
- DittoAuthenticator.ExpirationHandler - Interface in com.ditto.java
-
Handler for authentication expiration events.
- DittoAuthenticator.LoginCallback - Interface in com.ditto.java
-
Callback invoked when a login operation completes.
- DittoAuthenticator.LoginCallbackWithClientInfoJSON - Interface in com.ditto.java
-
Callback invoked when a login operation completes with client info.
- DittoAuthenticator.LoginResult - Record Class in com.ditto.java
-
Result of a login operation.
- DittoAuthenticator.LogoutCleanup - Interface in com.ditto.java
-
Function to perform cleanup operations during logout.
- DittoAuthenticator.StatusListener - Interface in com.ditto.java
-
Listener for authentication status changes.
- DittoBluetoothLeConfig - Class in com.ditto.java.transports
-
Configuration for Bluetooth Low Energy peer-to-peer transport.
- DittoBluetoothLeConfig.Builder - Class in com.ditto.java.transports
-
Builder for constructing a
DittoBluetoothLeConfig. - DittoCborSerializable - Class in com.ditto.java.serialization
-
Represents a value that can be serialized to CBOR format.
- DittoCborSerializable(InternalDittoCborSerializable) - Constructor for class com.ditto.java.serialization.DittoCborSerializable
-
Protected constructor for internal use.
- DittoCborSerializable.Array - Class in com.ditto.java.serialization
-
Represents a CBOR array value.
- DittoCborSerializable.Array.Builder - Class in com.ditto.java.serialization
-
Builder for constructing CBOR arrays.
- DittoCborSerializable.BooleanValue - Class in com.ditto.java.serialization
-
Represents a CBOR boolean value.
- DittoCborSerializable.ByteString - Class in com.ditto.java.serialization
-
Represents a CBOR byte string value.
- DittoCborSerializable.Dictionary - Class in com.ditto.java.serialization
-
Represents a CBOR dictionary (map) value.
- DittoCborSerializable.Dictionary.Builder - Class in com.ditto.java.serialization
-
Builder for constructing CBOR dictionaries.
- DittoCborSerializable.DoubleValue - Class in com.ditto.java.serialization
-
Represents a CBOR double value.
- DittoCborSerializable.FloatValue - Class in com.ditto.java.serialization
-
Represents a CBOR float value.
- DittoCborSerializable.NegativeInteger - Class in com.ditto.java.serialization
-
Represents a CBOR negative integer value.
- DittoCborSerializable.NullValue - Class in com.ditto.java.serialization
-
Represents a CBOR null value.
- DittoCborSerializable.Tagged - Class in com.ditto.java.serialization
-
Represents a CBOR tagged value.
- DittoCborSerializable.UnsignedInteger - Class in com.ditto.java.serialization
-
Represents a CBOR unsigned integer value.
- DittoCborSerializable.Utf8String - Class in com.ditto.java.serialization
-
Represents a CBOR UTF-8 string value.
- DittoChangeListener - Interface in com.ditto.java
-
A store observation listener is called whenever an active store observer receives a new query result.
- DittoChangeListenerWithNextSignal - Interface in com.ditto.java
-
A store observation listener is called whenever an active store observer receives a new query result.
- DittoConditionSource - Enum Class in com.ditto.java
-
Represents the source or transport type for a connection condition.
- DittoConfig - Class in com.ditto.java
-
Configuration for creating a
Dittoinstance. - DittoConfig.Builder - Class in com.ditto.java
-
Builder for creating
DittoConfiginstances. - DittoConfig.Builder.ExperimentalConfigurer - Interface in com.ditto.java
-
Functional interface for configuring experimental features.
- DittoConfig.Connect - Class in com.ditto.java
-
Defines how Ditto should connect to other peers.
- DittoConfig.Connect.Server - Class in com.ditto.java
-
Configuration for connecting through a Ditto Big Peer server.
- DittoConfig.Connect.SmallPeersOnly - Class in com.ditto.java
-
Configuration for peer-to-peer connections without a server.
- DittoConfig.Experimental - Class in com.ditto.java
-
Experimental features configuration for Ditto.
- DittoConfig.Experimental.Builder - Class in com.ditto.java
-
Builder for creating
DittoConfig.Experimentalconfigurations. - DittoConnect - Class in com.ditto.java.transports
-
Specific servers that Ditto should attempt to connect to.
- DittoConnect.Builder - Class in com.ditto.java.transports
-
Builder for constructing a
DittoConnectconfiguration. - DittoConnection - Class in com.ditto.java
-
Represents a connection between two peers in a Ditto mesh network.
- DittoConnectionRequest - Class in com.ditto.java
-
Contains information about a remote peer that has requested a connection.
- DittoConnectionRequestAuthorization - Enum Class in com.ditto.java
-
Indicates whether a connection request should be authorized.
- DittoConnectionType - Enum Class in com.ditto.java
-
Represents the type of transport used for a
DittoConnectionbetween twoDittoPeers. - DittoDiskUsage - Class in com.ditto.java
-
Provides access to information about disk storage used by Ditto.
- DittoDiskUsageCallback - Interface in com.ditto.java
-
Callback interface for receiving disk usage updates.
- DittoDiskUsageItem - Class in com.ditto.java
-
Represents a directory or file in the Ditto working directory.
- DittoException - Exception Class in com.ditto.java
-
All errors that are thrown by the Ditto SDK are wrapped as a
DittoException. - DittoException(InternalDittoErrorReason) - Constructor for exception class com.ditto.java.DittoException
- DittoException.ActivationException - Exception Class in com.ditto.java
-
Represents an error that occurred during Ditto activation.
- DittoException.ActivationExceptionReason - Interface in com.ditto.java
-
The possible underlying reasons an
DittoException.ActivationExceptionoccurs. - DittoException.ActivationExceptionReason.LicenseTokenExpired - Record Class in com.ditto.java
-
The provided license token has expired.
- DittoException.ActivationExceptionReason.LicenseTokenUnsupportedFutureVersion - Record Class in com.ditto.java
-
The provided license token is in an unsupported future format.
- DittoException.ActivationExceptionReason.LicenseTokenVerificationFailed - Record Class in com.ditto.java
-
Verification of the provided license token failed.
- DittoException.ActivationExceptionReason.NotActivatedError - Record Class in com.ditto.java
-
The
Dittoinstance has not yet been activated, which is achieved via a successful call toDitto.setOfflineOnlyLicenseToken(String). - DittoException.AuthenticationException - Exception Class in com.ditto.java
-
Represents an error that occurred during authentication with Ditto Cloud.
- DittoException.AuthenticationExceptionReason - Interface in com.ditto.java
-
The possible underlying reasons an
DittoException.AuthenticationExceptionerror occurs. - DittoException.AuthenticationExceptionReason.ExpirationHandlerMissing - Record Class in com.ditto.java
-
Authentication expiration handler is missing.
- DittoException.AuthenticationExceptionReason.FailedToAuthenticate - Record Class in com.ditto.java
-
Failed to authenticate with a remote server.
- DittoException.FatalException - Exception Class in com.ditto.java
-
Represents a fatal error that the
Dittoinstance cannot recover from. - DittoException.IoException - Exception Class in com.ditto.java
-
Errors related to IO devices.
- DittoException.IoExceptionReason - Interface in com.ditto.java
-
The possible underlying reasons an
DittoException.IoExceptionoccurs. - DittoException.IoExceptionReason.IoAlreadyExists - Record Class in com.ditto.java
-
An I/O operation failed because the specified entity (such as a file) already exists.
- DittoException.IoExceptionReason.IoNotFound - Record Class in com.ditto.java
-
An I/O operation failed because the specified entity (such as a file) already exists.
- DittoException.IoExceptionReason.IoOperationFailed - Record Class in com.ditto.java
-
An I/O operation failed.
- DittoException.IoExceptionReason.IoPermissionDenied - Record Class in com.ditto.java
-
An I/O operation failed because the necessary privileges to complete it were not present.
- DittoException.PresenceException - Exception Class in com.ditto.java
-
Errors transforming Ditto mesh presence data to or from JSON encoding.
- DittoException.PresenceExceptionReason - Interface in com.ditto.java
-
The possible underlying reasons a
DittoException.PresenceExceptionoccurs. - DittoException.PresenceExceptionReason.FailedToDecodeJson - Record Class in com.ditto.java
-
Parsing presence from JSON failed.
- DittoException.PresenceExceptionReason.FailedToEncodeJson - Record Class in com.ditto.java
-
Generating presence JSON failed.
- DittoException.StoreException - Exception Class in com.ditto.java
-
Represents an error that occurred during database or storage operations.
- DittoException.StoreExceptionReason - Interface in com.ditto.java
-
The possible underlying reasons a
DittoException.StoreExceptionoccurs. - DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists - Record Class in com.ditto.java
-
The target file for the attachment copy already exists.
- DittoException.StoreExceptionReason.AttachmentDataRetrievalError - Record Class in com.ditto.java
-
The attachment data failed to be retrieved.
- DittoException.StoreExceptionReason.AttachmentFileCopyError - Record Class in com.ditto.java
-
The attachment file failed to be copied.
- DittoException.StoreExceptionReason.AttachmentFileNotFound - Record Class in com.ditto.java
-
The given attachment file could not be found.
- DittoException.StoreExceptionReason.AttachmentFilePermissionDenied - Record Class in com.ditto.java
-
The attachment could not be found.
- DittoException.StoreExceptionReason.AttachmentNotFound - Record Class in com.ditto.java
-
The attachment could not be found.
- DittoException.StoreExceptionReason.AttachmentTokenInvalid - Record Class in com.ditto.java
-
The attachment token was invalid.
- DittoException.StoreExceptionReason.BackendError - Record Class in com.ditto.java
-
An error occurred with the storage backend (LMDB).
- DittoException.StoreExceptionReason.CrdtError - Record Class in com.ditto.java
-
A generic CRDT error occurred.
- DittoException.StoreExceptionReason.DocumentContentEncodingFailed - Record Class in com.ditto.java
-
The provided document content failed to be encoded.
- DittoException.StoreExceptionReason.DocumentNotFound - Record Class in com.ditto.java
-
The document could not be found.
- DittoException.StoreExceptionReason.FailedToCopyAttachment - Record Class in com.ditto.java
-
The attachment copy failed.
- DittoException.StoreExceptionReason.FailedToCreateAttachment - Record Class in com.ditto.java
-
A problem occurred creating the attachment.
- DittoException.StoreExceptionReason.FailedToDecodeCounter - Record Class in com.ditto.java
-
A Counter couldn't be created from the decoded Map.
- DittoException.StoreExceptionReason.FailedToDecodeData - Record Class in com.ditto.java
-
Data could not be decoded.
- DittoException.StoreExceptionReason.FailedToDecodeDocument - Record Class in com.ditto.java
-
The document could not be decoded.
- DittoException.StoreExceptionReason.FailedToDecodeValue - Record Class in com.ditto.java
-
The value could not be decoded.
- DittoException.StoreExceptionReason.FailedToEncodeValue - Record Class in com.ditto.java
-
The provided value could not be encoded.
- DittoException.StoreExceptionReason.FailedToFetchAttachment - Record Class in com.ditto.java
-
A problem occurred fetching the attachment.
- DittoException.StoreExceptionReason.FailedToGetDocumentData - Record Class in com.ditto.java
-
The document's data at the specified path could not be obtained.
- DittoException.StoreExceptionReason.FailedToGetDocumentIDData - Record Class in com.ditto.java
-
The document ID's data at the specified path could not be obtained.
- DittoException.StoreExceptionReason.FailedToInitializeDittoDirectory - Record Class in com.ditto.java
-
The directory that Ditto attempted to use for its persisted data could not be initialized.
- DittoException.StoreExceptionReason.InvalidCrdtType - Record Class in com.ditto.java
-
An invalid CRDT type was encountered.
- DittoException.StoreExceptionReason.InvalidDocumentStructure - Record Class in com.ditto.java
-
The document's internal representation was invalid.
- DittoException.StoreExceptionReason.InvalidLiveQueryId - Record Class in com.ditto.java
-
The live query has not obtained a valid identifier.
- DittoException.StoreExceptionReason.InvalidValueForCrdt - Record Class in com.ditto.java
-
An invalid value was encountered for a corresponding CRDT type.
- DittoException.StoreExceptionReason.NoIdPresentInDocument - Record Class in com.ditto.java
-
The document did not have an
_idkey when attempting to decode it. - DittoException.StoreExceptionReason.NonStringKeyInDocument - Record Class in com.ditto.java
-
The document, represented as a CBOR map, had a key that was not a string.
- DittoException.StoreExceptionReason.PersistenceDirectoryLocked - Record Class in com.ditto.java
-
The chosen persistence directory is already in use by another
Dittoinstance. - DittoException.StoreExceptionReason.QueryArgumentsInvalid - Record Class in com.ditto.java
-
The provided query arguments were invalid
- DittoException.StoreExceptionReason.QueryCompilationFailed - Record Class in com.ditto.java
-
Compilation of the provided query failed.
- DittoException.StoreExceptionReason.QueryError - Record Class in com.ditto.java
-
The query was invalid.
- DittoException.StoreExceptionReason.QueryInvalid - Record Class in com.ditto.java
-
The query is invalid.
- DittoException.StoreExceptionReason.QueryNotSupported - Record Class in com.ditto.java
-
The query is syntactically valid but uses features that are either not supported at all yet or not supported in a particular context.
- DittoException.StoreExceptionReason.TransactionReadOnly - Record Class in com.ditto.java
- DittoException.TransportException - Exception Class in com.ditto.java
-
Represents an error that occurred in the transport layer.
- DittoException.TransportExceptionReason - Interface in com.ditto.java
-
The possible underlying reasons a
DittoException.TransportExceptionerror occurs. - DittoException.TransportExceptionReason.FailedToDecodeTransportDiagnostics - Record Class in com.ditto.java
-
Decoding of transport diagnostics data failed.
- DittoException.TransportExceptionReason.IncorrectPlatformTransportConfig - Record Class in com.ditto.java
-
The wrong platform's DittoTransportConfig was provided.
- DittoException.UnknownException - Exception Class in com.ditto.java
-
Some not-yet-categorized error occurred.
- DittoException.UnsupportedException - Exception Class in com.ditto.java
-
Operation is not supported.
- DittoException.ValidationException - Exception Class in com.ditto.java
-
Represents a validation error for data or configuration.
- DittoException.ValidationExceptionReason - Interface in com.ditto.java
-
The possible underlying reasons a
DittoException.ValidationExceptionoccurs. - DittoException.ValidationExceptionReason.Base64Invalid - Record Class in com.ditto.java
-
Invalid base64-encoded string:
- DittoException.ValidationExceptionReason.DepthLimitExceeded - Record Class in com.ditto.java
-
If the amount of JSON data is too nested according to our self-imposed limits, or if the data cannot be parsed to determine the depth.
- DittoException.ValidationExceptionReason.InternalSubsystemUnavailable - Record Class in com.ditto.java
-
The observability subsystem is unavailable.
- DittoException.ValidationExceptionReason.InvalidCbor - Record Class in com.ditto.java
-
Expected valid CBOR.
- DittoException.ValidationExceptionReason.InvalidDittoConfig - Record Class in com.ditto.java
-
The provided DittoConfig is invalid.
- DittoException.ValidationExceptionReason.InvalidJson - Record Class in com.ditto.java
-
Expected valid JSON.
- DittoException.ValidationExceptionReason.MissingKey - Record Class in com.ditto.java
-
The given Map was missing a required entry for the given key name.
- DittoException.ValidationExceptionReason.NotAMap - Record Class in com.ditto.java
-
The value provided was not a
Map. - DittoException.ValidationExceptionReason.NotJsonCompatible - Record Class in com.ditto.java
-
The object is or contain(s) types that aren't JSON compatible.
- DittoException.ValidationExceptionReason.SizeLimitExceeded - Record Class in com.ditto.java
-
The size of the provided metadata is too large.
- DittoException.ValidationExceptionReason.UnknownSyncScope - Record Class in com.ditto.java
-
The provided
DittoSmallPeerInfoSyncScopevalue didn't correspond with any known enum cases. - DittoFileSystemType - Enum Class in com.ditto.java
-
Represents the type of file system item in a
DittoDiskUsageItem. - DittoGlobalConfig - Class in com.ditto.java.transports
-
Settings not associated with any specific type of transport.
- DittoGlobalConfig.Builder - Class in com.ditto.java.transports
-
Builder for constructing a
DittoGlobalConfig. - DittoHttpListenConfig - Class in com.ditto.java.transports
-
Configuration for listening on an HTTP/WebSocket server to accept incoming sync connections.
- DittoHttpListenConfig.Builder - Class in com.ditto.java.transports
-
Builder for constructing a
DittoHttpListenConfig. - DittoJsonSerializable - Class in com.ditto.java.serialization
-
Represents a value that can be serialized to JSON format.
- DittoJsonSerializable(InternalDittoJsonSerializable) - Constructor for class com.ditto.java.serialization.DittoJsonSerializable
-
Protected constructor for internal use.
- DittoJsonSerializable.ArrayValue - Class in com.ditto.java.serialization
-
Represents a JSON array value.
- DittoJsonSerializable.NullValue - Class in com.ditto.java.serialization
-
Represents a JSON null value.
- DittoJsonSerializable.ObjectValue - Class in com.ditto.java.serialization
-
Represents a JSON object value.
- DittoJsonSerializable.PrimitiveValue - Class in com.ditto.java.serialization
-
Represents a JSON primitive value (boolean, number).
- DittoJsonSerializable.StringValue - Class in com.ditto.java.serialization
-
Represents a JSON string value.
- DittoLanConfig - Class in com.ditto.java.transports
-
Configuration for Local Area Network (LAN) peer-to-peer transport.
- DittoLanConfig.Builder - Class in com.ditto.java.transports
-
Builder for constructing a
DittoLanConfig. - DittoListen - Class in com.ditto.java.transports
-
Configure this device as a Ditto server.
- DittoListen.Builder - Class in com.ditto.java.transports
-
Builder for constructing a
DittoListenconfiguration. - DittoListen.Builder.UpdateHttpListenConfig - Interface in com.ditto.java.transports
-
Functional interface for configuring HTTP listen.
- DittoListen.Builder.UpdateTcpListenConfig - Interface in com.ditto.java.transports
-
Functional interface for configuring TCP listen.
- DittoLog - Class in com.ditto.java
-
Main access for Ditto logging API.
- DittoLogCallback - Interface in com.ditto.java
-
Callback interface for receiving Ditto log messages.
- DittoLogDecorator - Class in com.ditto.java
-
Provides customization of Ditto's logging output.
- DittoLogger - Class in com.ditto.java
-
Singleton with static methods to customize Ditto's logging behavior.
- DittoLogLevel - Enum Class in com.ditto.java
-
Enum representing the severity level for log messages.
- DittoPeer - Class in com.ditto.java
-
An instance of Ditto taking part in the mesh network.
- DittoPeerToPeer - Class in com.ditto.java.transports
-
Configuration of peer-to-peer transports, which are able to discover and connect to peers on their own.
- DittoPeerToPeer.Builder - Class in com.ditto.java.transports
-
Builder for constructing a
DittoPeerToPeerconfiguration. - DittoPeerToPeer.Builder.UpdateBluetoothLeConfig - Interface in com.ditto.java.transports
-
Functional interface for configuring Bluetooth LE transport.
- DittoPeerToPeer.Builder.UpdateLanConfig - Interface in com.ditto.java.transports
-
Functional interface for configuring LAN transport.
- DittoPeerToPeer.Builder.UpdateWifiAwareConfig - Interface in com.ditto.java.transports
-
Functional interface for configuring Wi-Fi Aware transport.
- DittoPresence - Class in com.ditto.java
-
The entrypoint for all actions that relate to presence of other peers known by the current peer, either directly or through other peers.
- DittoPresence.ConnectionRequestHandler - Interface in com.ditto.java
-
Handler interface for controlling incoming connection requests.
- DittoPresence.PresenceGraphChangedListener - Interface in com.ditto.java
-
Listener interface for receiving presence graph updates.
- DittoPresenceGraph - Class in com.ditto.java
-
Represents the Ditto mesh network of peers and their connections between each other.
- DittoPresenceObserver - Class in com.ditto.java
-
A token representing an active presence graph observation.
- DittoQueryExecuting - Interface in com.ditto.java
-
Defines the interface for executing DQL queries.
- DittoQueryResult - Class in com.ditto.java
-
Represents the results returned when executing a DQL (Ditto Query Language) query.
- DittoQueryResultItem - Class in com.ditto.java
-
Represents a single match of a DQL query, similar to a "row" in SQL terms.
- DittoResource - Interface in com.ditto.java
-
Interface for Ditto resources that need explicit cleanup.
- DittoSignalNext - Interface in com.ditto.java
-
A functional interface for signaling that the next item should be delivered.
- DittoStore - Class in com.ditto.java
-
Provides access to execute Ditto queries.
- DittoStoreObserver - Class in com.ditto.java
-
A store observer that monitors query results and invokes a handler when they change.
- DittoSync - Class in com.ditto.java
-
Provides access to sync-related functionality of Ditto.
- DittoSyncSubscription - Class in com.ditto.java
-
A sync subscription configures
Dittoto receive updates from remote peers about documents matching the subscription's query. - DittoTcpListenConfig - Class in com.ditto.java.transports
-
Configuration for listening on a TCP socket to accept incoming sync connections.
- DittoTcpListenConfig.Builder - Class in com.ditto.java.transports
-
Builder for constructing a
DittoTcpListenConfig. - DittoTransaction - Class in com.ditto.java
-
Represents a database transaction for executing multiple DQL queries atomically.
- DittoTransaction.Result<T> - Class in com.ditto.java
-
Represents the result of a transaction, indicating whether to commit or rollback.
- DittoTransaction.Result.Commit<T> - Class in com.ditto.java
-
Represents a successful transaction that should be committed.
- DittoTransaction.Result.Rollback<T> - Class in com.ditto.java
-
Represents a transaction that should be rolled back.
- DittoTransactionFunction<T> - Interface in com.ditto.java
-
A functional interface for executing operations within a database transaction.
- DittoTransactionInfo - Class in com.ditto.java
-
Encapsulates information about a transaction.
- DittoTransportCondition - Enum Class in com.ditto.java
-
Represents the operational condition of a Ditto transport.
- DittoTransportConditionChangedCallback - Interface in com.ditto.java
-
Callback interface for monitoring transport condition changes.
- DittoTransportConfig - Class in com.ditto.java.transports
-
A configuration object specifying which network transports Ditto should use to sync data.
- DittoTransportConfig.Builder - Class in com.ditto.java.transports
-
Builder for constructing a
DittoTransportConfig. - DittoTransportConfig.Builder.UpdateConnectConfig - Interface in com.ditto.java.transports
-
Functional interface for configuring connect transports.
- DittoTransportConfig.Builder.UpdateGlobalConfig - Interface in com.ditto.java.transports
-
Functional interface for configuring global transport settings.
- DittoTransportConfig.Builder.UpdateListenConfig - Interface in com.ditto.java.transports
-
Functional interface for configuring listen transports.
- DittoTransportConfig.Builder.UpdatePeerToPeerConfig - Interface in com.ditto.java.transports
-
Functional interface for configuring peer-to-peer transports.
- DittoTransportDiagnostics - Class in com.ditto.java
-
Provides diagnostic information about all active Ditto transports.
- DittoTransportSnapshot - Class in com.ditto.java
-
Represents a snapshot of a specific transport's current state.
- DittoUInt - Interface in com.ditto.java
-
Represents an unsigned 32-bit integer.
- DittoULong - Interface in com.ditto.java
-
Represents an unsigned 64-bit integer.
- DittoWifiAwareConfig - Class in com.ditto.java.transports
-
Configuration for Wi-Fi Aware peer-to-peer transport.
- DittoWifiAwareConfig.Builder - Class in com.ditto.java.transports
-
Builder for constructing a
DittoWifiAwareConfig. - DocumentContentEncodingFailed(Throwable) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.DocumentContentEncodingFailed
-
Creates an instance of a
DocumentContentEncodingFailedrecord class. - DocumentNotFound() - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.DocumentNotFound
-
Creates an instance of a
DocumentNotFoundrecord class.
E
- e(String, Object) - Static method in class com.ditto.java.DittoLog
-
Logs an error message.
- e(String, Object, Throwable) - Static method in class com.ditto.java.DittoLog
-
Logs an error message with an associated throwable.
- equals(Object) - Method in class com.ditto.java.Ditto
- equals(Object) - Method in class com.ditto.java.DittoAddress
- equals(Object) - Method in class com.ditto.java.DittoAttachment
- equals(Object) - Method in class com.ditto.java.DittoAttachmentFetcher
- equals(Object) - Method in class com.ditto.java.DittoAttachmentToken
- equals(Object) - Method in class com.ditto.java.DittoAuthenticationProvider
- equals(Object) - Method in class com.ditto.java.DittoAuthenticationStatus
- equals(Object) - Method in record class com.ditto.java.DittoAuthenticator.LoginResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.ditto.java.DittoConfig.Connect.Server
- equals(Object) - Method in class com.ditto.java.DittoConfig.Connect.SmallPeersOnly
- equals(Object) - Method in class com.ditto.java.DittoConfig
- equals(Object) - Method in class com.ditto.java.DittoConfig.Experimental
- equals(Object) - Method in class com.ditto.java.DittoConnection
- equals(Object) - Method in class com.ditto.java.DittoConnectionRequest
- equals(Object) - Method in class com.ditto.java.DittoDiskUsageItem
- equals(Object) - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenExpired
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenUnsupportedFutureVersion
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenVerificationFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.NotActivatedError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.AuthenticationExceptionReason.ExpirationHandlerMissing
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.AuthenticationExceptionReason.FailedToAuthenticate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoAlreadyExists
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoNotFound
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoOperationFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoPermissionDenied
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.PresenceExceptionReason.FailedToDecodeJson
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.PresenceExceptionReason.FailedToEncodeJson
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentDataRetrievalError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFileCopyError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFileNotFound
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFilePermissionDenied
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentNotFound
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentTokenInvalid
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.BackendError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.CrdtError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.DocumentContentEncodingFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.DocumentNotFound
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToCopyAttachment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToCreateAttachment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeCounter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeDocument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToEncodeValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToFetchAttachment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToGetDocumentData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToGetDocumentIDData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToInitializeDittoDirectory
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidCrdtType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidDocumentStructure
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidLiveQueryId
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidValueForCrdt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.NoIdPresentInDocument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.NonStringKeyInDocument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.PersistenceDirectoryLocked
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryArgumentsInvalid
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryCompilationFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryInvalid
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryNotSupported
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.StoreExceptionReason.TransactionReadOnly
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.TransportExceptionReason.FailedToDecodeTransportDiagnostics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.TransportExceptionReason.IncorrectPlatformTransportConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.Base64Invalid
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.DepthLimitExceeded
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InternalSubsystemUnavailable
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidCbor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidDittoConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidJson
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.MissingKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.NotAMap
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.NotJsonCompatible
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.SizeLimitExceeded
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.UnknownSyncScope
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.ditto.java.DittoPeer
- equals(Object) - Method in class com.ditto.java.DittoPresenceGraph
- equals(Object) - Method in class com.ditto.java.DittoPresenceObserver
- equals(Object) - Method in class com.ditto.java.DittoQueryResultItem
- equals(Object) - Method in class com.ditto.java.DittoStoreObserver
- equals(Object) - Method in class com.ditto.java.DittoSyncSubscription
- equals(Object) - Method in class com.ditto.java.DittoTransportSnapshot
- equals(Object) - Method in class com.ditto.java.serialization.DittoCborSerializable
- equals(Object) - Method in class com.ditto.java.serialization.DittoJsonSerializable
- equals(Object) - Method in class com.ditto.java.transports.DittoBluetoothLeConfig
- equals(Object) - Method in class com.ditto.java.transports.DittoConnect
- equals(Object) - Method in class com.ditto.java.transports.DittoGlobalConfig
- equals(Object) - Method in class com.ditto.java.transports.DittoHttpListenConfig
- equals(Object) - Method in class com.ditto.java.transports.DittoLanConfig
- equals(Object) - Method in class com.ditto.java.transports.DittoListen
- equals(Object) - Method in class com.ditto.java.transports.DittoPeerToPeer
- equals(Object) - Method in class com.ditto.java.transports.DittoTcpListenConfig
- equals(Object) - Method in class com.ditto.java.transports.DittoTransportConfig
- equals(Object) - Method in class com.ditto.java.transports.DittoWifiAwareConfig
- error() - Method in record class com.ditto.java.DittoAuthenticator.LoginResult
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.PresenceExceptionReason.FailedToDecodeJson
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.PresenceExceptionReason.FailedToEncodeJson
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentDataRetrievalError
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFileCopyError
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.DocumentContentEncodingFailed
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToCopyAttachment
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeData
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeDocument
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeValue
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToInitializeDittoDirectory
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.TransportExceptionReason.FailedToDecodeTransportDiagnostics
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoException.TransportExceptionReason.IncorrectPlatformTransportConfig
-
Returns the value of the
errorrecord component. - ERROR - Enum constant in enum class com.ditto.java.DittoLogLevel
-
Error log level - critical issues that require attention.
- execute(String) - Method in interface com.ditto.java.DittoQueryExecuting
-
Executes a DQL query and returns items as a query result.
- execute(String) - Method in class com.ditto.java.DittoStore
-
Executes a DQL query and returns items as a query result.
- execute(String) - Method in class com.ditto.java.DittoTransaction
-
Executes a DQL query and returns items as a query result.
- execute(String, DittoCborSerializable.Dictionary) - Method in interface com.ditto.java.DittoQueryExecuting
-
Executes a DQL query and returns items as a query result.
- execute(String, DittoCborSerializable.Dictionary) - Method in class com.ditto.java.DittoStore
-
Executes a DQL query with arguments and returns items as a query result.
- execute(String, DittoCborSerializable.Dictionary) - Method in class com.ditto.java.DittoTransaction
-
Executes a DQL query and returns items as a query result.
- experimental(DittoConfig.Builder.ExperimentalConfigurer) - Method in class com.ditto.java.DittoConfig.Builder
-
Configures experimental features.
- ExpirationHandlerMissing(String) - Constructor for record class com.ditto.java.DittoException.AuthenticationExceptionReason.ExpirationHandlerMissing
-
Creates an instance of a
ExpirationHandlerMissingrecord class. - exportToFileBlocking(String) - Static method in class com.ditto.java.DittoLogger
-
Exports collected logs to a compressed and JSON-encoded file on the local file system.
F
- FailedToAuthenticate() - Constructor for record class com.ditto.java.DittoException.AuthenticationExceptionReason.FailedToAuthenticate
-
Creates an instance of a
FailedToAuthenticaterecord class. - FailedToCopyAttachment(Throwable) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToCopyAttachment
-
Creates an instance of a
FailedToCopyAttachmentrecord class. - FailedToCreateAttachment(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToCreateAttachment
-
Creates an instance of a
FailedToCreateAttachmentrecord class. - FailedToDecodeCounter(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeCounter
-
Creates an instance of a
FailedToDecodeCounterrecord class. - FailedToDecodeData(Throwable, byte[]) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeData
-
Creates an instance of a
FailedToDecodeDatarecord class. - FailedToDecodeDocument(Throwable) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeDocument
-
Creates an instance of a
FailedToDecodeDocumentrecord class. - FailedToDecodeJson(Throwable) - Constructor for record class com.ditto.java.DittoException.PresenceExceptionReason.FailedToDecodeJson
-
Creates an instance of a
FailedToDecodeJsonrecord class. - FailedToDecodeTransportDiagnostics(Throwable) - Constructor for record class com.ditto.java.DittoException.TransportExceptionReason.FailedToDecodeTransportDiagnostics
-
Creates an instance of a
FailedToDecodeTransportDiagnosticsrecord class. - FailedToDecodeValue(Throwable) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeValue
-
Creates an instance of a
FailedToDecodeValuerecord class. - FailedToEncodeJson(Throwable) - Constructor for record class com.ditto.java.DittoException.PresenceExceptionReason.FailedToEncodeJson
-
Creates an instance of a
FailedToEncodeJsonrecord class. - FailedToEncodeValue(Object, String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToEncodeValue
-
Creates an instance of a
FailedToEncodeValuerecord class. - FailedToFetchAttachment(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToFetchAttachment
-
Creates an instance of a
FailedToFetchAttachmentrecord class. - FailedToGetDocumentData(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToGetDocumentData
-
Creates an instance of a
FailedToGetDocumentDatarecord class. - FailedToGetDocumentIDData(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToGetDocumentIDData
-
Creates an instance of a
FailedToGetDocumentIDDatarecord class. - FailedToInitializeDittoDirectory(Throwable) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.FailedToInitializeDittoDirectory
-
Creates an instance of a
FailedToInitializeDittoDirectoryrecord class. - fetchAttachment(DittoAttachmentToken) - Method in class com.ditto.java.DittoStore
-
Trigger an attachment to be downloaded locally to the device and observe its progress as it does so.
- fetchAttachment(DittoAttachmentToken, DittoAttachmentFetchProgressHandler) - Method in class com.ditto.java.DittoStore
-
Trigger an attachment to be downloaded locally to the device and observe its progress as it does so.
- fetchAttachment(Map<String, Object>) - Method in class com.ditto.java.DittoStore
-
Trigger an attachment to be downloaded locally to the device and observe its progress as it does so.
- fetchAttachment(Map<String, Object>, DittoAttachmentFetchProgressHandler) - Method in class com.ditto.java.DittoStore
-
Trigger an attachment to be downloaded locally to the device and observe its progress as it does so.
- FILE - Enum constant in enum class com.ditto.java.DittoFileSystemType
-
A regular file containing data.
- fromBigInteger(BigInteger) - Static method in interface com.ditto.java.DittoULong
-
Creates an unsigned integer from a
BigInteger. - fromIntData(int) - Static method in interface com.ditto.java.DittoUInt
-
Creates an unsigned integer from raw 32-bit data.
- fromLong(long) - Static method in interface com.ditto.java.DittoUInt
-
Creates an unsigned integer from a
longvalue. - fromLongData(long) - Static method in interface com.ditto.java.DittoULong
-
Creates an unsigned integer from raw 64-bit data.
G
- GENERIC_FAILURE - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
The transport has encountered a generic failure.
- get(int) - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Gets the value at the specified index if this is an array.
- get(DittoCborSerializable) - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Gets the value for the specified CBOR key if this is a dictionary.
- get(String) - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Gets the value for the specified key if this is a dictionary.
- getAbsolutePersistenceDirectory() - Method in class com.ditto.java.Ditto
-
The absolute path to the persistence directory used by Ditto to persist data.
- getAddress() - Method in class com.ditto.java.DittoPeer
-
Returns the unique network identifier of the peer.
- getAdvertisementInterval() - Method in class com.ditto.java.transports.DittoBluetoothLeConfig
-
Returns the Bluetooth LE advertisement interval/frequency setting.
- getAdvertisementPower() - Method in class com.ditto.java.transports.DittoBluetoothLeConfig
-
Returns the Bluetooth LE advertisement power setting.
- getArguments() - Method in class com.ditto.java.DittoStoreObserver
-
Returns the query arguments for this store observer.
- getArguments() - Method in class com.ditto.java.DittoSyncSubscription
-
Returns the query arguments of the sync subscription.
- getAttachment() - Method in class com.ditto.java.DittoAttachmentFetchResult.Completed
-
Returns the successfully fetched attachment.
- getAttachmentFetchers() - Method in class com.ditto.java.DittoStore
-
All currently active attachment fetchers.
- getAuth() - Method in class com.ditto.java.Ditto
-
Provides access to authentication information and methods for logging on to Ditto Cloud.
- getBluetoothLe() - Method in class com.ditto.java.transports.DittoPeerToPeer
-
Returns the Bluetooth Low Energy transport configuration.
- getBoolean() - Method in class com.ditto.java.serialization.DittoJsonSerializable
-
Converts this value to a boolean.
- getBooleanOrNull() - Method in class com.ditto.java.serialization.DittoJsonSerializable
-
Converts this value to a boolean, or returns
nullif conversion fails. - getByte() - Method in class com.ditto.java.serialization.DittoJsonSerializable
-
Converts this value to a byte.
- getCallback() - Method in class com.ditto.java.Ditto
-
Returns the current transport condition changed callback.
- getCborData() - Method in class com.ditto.java.DittoQueryResultItem
-
Returns the content of the item as raw CBOR data.
- getChildren() - Method in class com.ditto.java.DittoDiskUsageItem
-
Returns a list of child items.
- getConfig() - Method in class com.ditto.java.Ditto
-
Returns the configuration used to initialize this Ditto instance.
- getConnect() - Method in class com.ditto.java.DittoConfig
-
Returns the connection configuration.
- getConnect() - Method in class com.ditto.java.transports.DittoTransportConfig
-
Returns the connect configuration for connecting to remote peers.
- getConnected() - Method in class com.ditto.java.DittoTransportSnapshot
-
Returns the site IDs of peers that are currently connected.
- getConnecting() - Method in class com.ditto.java.DittoTransportSnapshot
-
Returns the site IDs of peers that are currently establishing a connection.
- getConnectionRequestHandler() - Method in class com.ditto.java.DittoPresence
-
Returns the handler that controls which peers in a Ditto mesh can connect to the current peer.
- getConnections() - Method in class com.ditto.java.DittoPeer
-
Returns the connections that are currently active with the current peer.
- getConnectionType() - Method in class com.ditto.java.DittoConnection
-
Returns the type of transport enabling this connection.
- getConnectionType() - Method in class com.ditto.java.DittoConnectionRequest
-
Returns the connection type used to establish this particular connection.
- getConnectionType() - Method in class com.ditto.java.DittoTransportSnapshot
-
Returns the type of this transport connection.
- getCurrent() - Method in class com.ditto.java.DittoDiskUsage
-
Returns a single snapshot of current disk usage.
- getData() - Method in class com.ditto.java.DittoAttachment
-
Returns the attachment's data as a
ByteArray. - getDatabaseId() - Method in class com.ditto.java.DittoConfig
-
Returns the database ID for this configuration.
- getDefault() - Static method in class com.ditto.java.DittoConfig
-
Returns the default
DittoConfiginstance. - getDefaultDatabaseId() - Static method in class com.ditto.java.DittoConfig
-
Returns the default database ID.
- getDeviceName() - Method in class com.ditto.java.Ditto
-
Returns the custom identifier used for this peer.
- getDeviceName() - Method in class com.ditto.java.DittoPeer
-
Returns the human-readable device name of the peer.
- getDisconnected() - Method in class com.ditto.java.DittoTransportSnapshot
-
Returns the site IDs of peers that were previously connected but are now disconnected.
- getDisconnecting() - Method in class com.ditto.java.DittoTransportSnapshot
-
Returns the site IDs of peers that are currently disconnecting.
- getDiskUsage() - Method in class com.ditto.java.Ditto
-
Provides access to the SDK's disk usage monitoring.
- getDittoSdkVersion() - Method in class com.ditto.java.DittoPeer
-
Returns the Ditto SDK version the peer is running with.
- getDouble() - Method in class com.ditto.java.serialization.DittoJsonSerializable
-
Converts this value to a double.
- getExperimental() - Method in class com.ditto.java.DittoConfig
-
Returns the experimental features configuration.
- getFloat() - Method in class com.ditto.java.serialization.DittoJsonSerializable
-
Converts this value to a float.
- getGlobal() - Method in class com.ditto.java.transports.DittoTransportConfig
-
Returns the global transport configuration.
- getGraph() - Method in class com.ditto.java.DittoPresence
-
Returns the latest snapshot of information about peers in the Ditto mesh network.
- getHint() - Method in class com.ditto.java.DittoTransactionInfo
-
The user hint passed when creating the transaction, useful for debugging and testing.
- getHttp() - Method in class com.ditto.java.transports.DittoListen
-
Returns the HTTP listen configuration.
- getId() - Method in class com.ditto.java.DittoAttachment
-
Returns the attachment's ID.
- getId() - Method in class com.ditto.java.DittoAttachmentToken
-
Returns the attachment's unique identifier.
- getId() - Method in class com.ditto.java.DittoConnection
-
Returns the connection ID.
- getId() - Method in class com.ditto.java.DittoTransactionInfo
-
A globally unique ID of the transaction.
- getIdentityServiceMetadata() - Method in class com.ditto.java.DittoConnectionRequest
-
Returns metadata for the remote peer provided by the identity service.
- getIdentityServiceMetadata() - Method in class com.ditto.java.DittoPeer
-
Returns metadata associated with the peer by the identity service.
- getIdentityServiceMetadataJson() - Method in class com.ditto.java.DittoConnectionRequest
-
Returns a JSON string of metadata for the remote peer provided by the identity service.
- getImplementation() - Method in class com.ditto.java.DittoTransaction.Result
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.Array
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.BooleanValue
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.ByteString
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.DoubleValue
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.FloatValue
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Returns the internal CBOR serializable implementation.
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.NegativeInteger
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.NullValue
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.Tagged
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.UnsignedInteger
- getImplementation() - Method in class com.ditto.java.serialization.DittoCborSerializable.Utf8String
- getImplementation() - Method in class com.ditto.java.serialization.DittoJsonSerializable.ArrayValue
- getImplementation() - Method in class com.ditto.java.serialization.DittoJsonSerializable
-
Returns the internal JSON serializable implementation.
- getImplementation() - Method in class com.ditto.java.serialization.DittoJsonSerializable.NullValue
- getImplementation() - Method in class com.ditto.java.serialization.DittoJsonSerializable.ObjectValue
- getImplementation() - Method in class com.ditto.java.serialization.DittoJsonSerializable.PrimitiveValue
- getImplementation() - Method in class com.ditto.java.serialization.DittoJsonSerializable.StringValue
- getInfo() - Method in class com.ditto.java.DittoTransaction
-
Returns information about the current transaction.
- getInputStream() - Method in class com.ditto.java.DittoAttachment
-
Returns an input stream for the attachment file.
- getInt() - Method in class com.ditto.java.serialization.DittoJsonSerializable
-
Converts this value to an int.
- getInterfaceIp() - Method in class com.ditto.java.transports.DittoHttpListenConfig
-
Returns the network interface IP address to bind to.
- getInterfaceIp() - Method in class com.ditto.java.transports.DittoTcpListenConfig
-
Returns the network interface IP address to bind to.
- getItems() - Method in class com.ditto.java.DittoQueryResult
-
Returns the individual items matching the DQL query.
- getJsonString() - Method in class com.ditto.java.DittoQueryResultItem
-
Returns the content of the item as a JSON string.
- getLan() - Method in class com.ditto.java.transports.DittoPeerToPeer
-
Returns the LAN transport configuration.
- getLength() - Method in class com.ditto.java.DittoAttachment
-
Returns the length (size) of the attachment.
- getLength() - Method in class com.ditto.java.DittoAttachmentToken
-
Returns the length (size) of the attachment in bytes.
- getListen() - Method in class com.ditto.java.transports.DittoTransportConfig
-
Returns the listen configuration for accepting incoming connections.
- getLocalizedMessage() - Method in exception class com.ditto.java.DittoException
-
A String representation of the error suitable for display.
- getLocalPeer() - Method in class com.ditto.java.DittoPresenceGraph
-
Returns the local peer in this presence graph.
- getLogDecorator() - Static method in class com.ditto.java.DittoLog
-
Returns the current log decorator used for formatting log messages.
- getLong() - Method in class com.ditto.java.serialization.DittoJsonSerializable
-
Converts this value to a long.
- getMessage() - Method in exception class com.ditto.java.DittoException
-
A formatted description of the error.
- getMetadata() - Method in class com.ditto.java.DittoAttachment
-
Returns the attachment's metadata.
- getMetadata() - Method in class com.ditto.java.DittoAttachmentToken
-
Returns the attachment's metadata.
- getMinimumLogLevel() - Static method in class com.ditto.java.DittoLogger
-
Returns the minimum log level at which logs will be logged, provided
DittoLogger.isEnabled()istrue. - getMutatedDocumentIds() - Method in class com.ditto.java.DittoQueryResult
-
Returns the IDs of documents that were mutated locally by a mutating DQL query.
- getObservers() - Method in class com.ditto.java.DittoStore
-
Returns all currently active store observers.
- getOs() - Method in class com.ditto.java.DittoPeer
-
Returns the operating system of the peer, if known.
- getPath() - Method in class com.ditto.java.DittoDiskUsageItem
-
Returns the path to this item relative to the Ditto working directory.
- getPeer1Key() - Method in class com.ditto.java.DittoConnection
-
Returns the peer key of the peer at one end of the connection.
- getPeer2Key() - Method in class com.ditto.java.DittoConnection
-
Returns the peer key of the peer at the other end of the connection.
- getPeerKey() - Method in class com.ditto.java.DittoPeer
-
Returns the peer key, a unique identifier for this peer.
- getPeerKeyString() - Method in class com.ditto.java.DittoConnectionRequest
-
The unique peer key of the remote peer.
- getPeerMetadata() - Method in class com.ditto.java.DittoConnectionRequest
-
Returns metadata associated with the remote peer.
- getPeerMetadata() - Method in class com.ditto.java.DittoPeer
-
Returns metadata associated with the peer, empty dictionary by default.
- getPeerMetadata() - Method in class com.ditto.java.DittoPresence
-
Returns metadata associated with the current peer.
- getPeerMetadataJson() - Method in class com.ditto.java.DittoConnectionRequest
-
Returns a JSON string of metadata associated with the remote peer.
- getPeerMetadataJsonString() - Method in class com.ditto.java.DittoPresence
-
Returns metadata associated with the current peer as a JSON string.
- getPeerToPeer() - Method in class com.ditto.java.transports.DittoTransportConfig
-
Returns the peer-to-peer transport configuration.
- getPersistenceDirectory() - Method in class com.ditto.java.DittoConfig
-
Returns the persistence directory as a File object.
- getPersistenceDirectoryPath() - Method in class com.ditto.java.DittoConfig
-
Returns the persistence directory path as a string.
- getPort() - Method in class com.ditto.java.transports.DittoHttpListenConfig
-
Returns the HTTP port number to listen on.
- getPort() - Method in class com.ditto.java.transports.DittoTcpListenConfig
-
Returns the TCP port number to listen on.
- getPresence() - Method in class com.ditto.java.Ditto
-
Provides access to the SDK's presence functionality.
- getPrivateKey() - Method in class com.ditto.java.DittoConfig.Connect.SmallPeersOnly
-
Returns the private key for this peer.
- getQuery() - Method in class com.ditto.java.DittoStoreObserver
-
Returns the DQL query string for this store observer.
- getQuery() - Method in class com.ditto.java.DittoSyncSubscription
-
Returns the query string for this subscription.
- getReason() - Method in exception class com.ditto.java.DittoException.ActivationException
-
Returns the specific reason for this activation error.
- getReason() - Method in exception class com.ditto.java.DittoException.AuthenticationException
-
Returns the specific reason for this authentication error.
- getReason() - Method in exception class com.ditto.java.DittoException.IoException
-
Returns the specific reason for this I/O error.
- getReason() - Method in exception class com.ditto.java.DittoException.PresenceException
-
Returns the specific reason for this presence error.
- getReason() - Method in exception class com.ditto.java.DittoException.StoreException
-
Returns the specific reason for this store error.
- getReason() - Method in exception class com.ditto.java.DittoException.TransportException
-
Returns the specific reason for this transport error.
- getReason() - Method in exception class com.ditto.java.DittoException.ValidationException
-
Returns the specific reason for this validation error.
- getRemotePeers() - Method in class com.ditto.java.DittoPresenceGraph
-
Returns all remote peers known by the local peer.
- getRetryIntervalMs() - Method in class com.ditto.java.transports.DittoConnect
-
Returns the retry interval in milliseconds for connection attempts.
- getRoutingHint() - Method in class com.ditto.java.transports.DittoGlobalConfig
-
Returns the routing hint for this device.
- getSdkVersion() - Method in class com.ditto.java.Ditto
-
Returns a string of version metadata for the Ditto SDK.
- getShort() - Method in class com.ditto.java.serialization.DittoJsonSerializable
-
Converts this value to a short.
- getSizeIntBytes() - Method in class com.ditto.java.DittoDiskUsageItem
-
Returns the size of this item in bytes.
- getStatus() - Method in class com.ditto.java.DittoAuthenticator
-
Returns the current authentication status.
- getStore() - Method in class com.ditto.java.Ditto
-
Provides access to store-related functionality.
- getSubscriptions() - Method in class com.ditto.java.DittoSync
-
Returns all currently active sync subscriptions.
- getSync() - Method in class com.ditto.java.Ditto
-
Provides access to sync-related functionality.
- getSyncGroup() - Method in class com.ditto.java.transports.DittoGlobalConfig
-
Returns the sync group for this device.
- getTag() - Method in class com.ditto.java.serialization.DittoCborSerializable.Tagged
-
Returns the numeric tag identifier.
- getTcp() - Method in class com.ditto.java.transports.DittoListen
-
Returns the TCP listen configuration.
- getTcpServers() - Method in class com.ditto.java.transports.DittoConnect
-
Returns the set of TCP server addresses to connect to.
- getTlsCertificatePath() - Method in class com.ditto.java.transports.DittoHttpListenConfig
-
Returns the path to the TLS certificate file.
- getTlsKeyPath() - Method in class com.ditto.java.transports.DittoHttpListenConfig
-
Returns the path to the TLS private key file.
- getTransportConfig() - Method in class com.ditto.java.Ditto
-
Returns the current transport configuration.
- getTransportDiagnostics() - Method in class com.ditto.java.Ditto
-
Requests bulk status information about the transports.
- getTransports() - Method in class com.ditto.java.DittoTransportDiagnostics
-
Returns snapshots of all active transports.
- getType() - Method in class com.ditto.java.DittoDiskUsageItem
-
Returns the type of this item (file or directory).
- getURIUrl() - Method in class com.ditto.java.DittoConfig.Connect.Server
-
Returns the server URL as a URI.
- getUrl() - Method in class com.ditto.java.DittoConfig.Connect.Server
-
Returns the server URL as a string.
- getUserId() - Method in class com.ditto.java.DittoAuthenticationStatus
-
Returns the user identifier if authenticated and one was provided by the authentication service.
- getValue() - Method in class com.ditto.java.DittoQueryResultItem
-
Returns the content as a materialized dictionary.
- getValue() - Method in class com.ditto.java.DittoTransaction.Result.Commit
-
Returns the value associated with this commit.
- getValue() - Method in class com.ditto.java.serialization.DittoCborSerializable.Tagged
-
Returns the wrapped CBOR value.
- getWebsocketUrls() - Method in class com.ditto.java.transports.DittoConnect
-
Returns the set of WebSocket URLs to connect to.
- getWifiAware() - Method in class com.ditto.java.transports.DittoPeerToPeer
-
Returns the Wi-Fi Aware transport configuration.
- global() - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
-
Returns the global configuration builder.
- global(DittoTransportConfig.Builder.UpdateGlobalConfig) - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
-
Configures global transport settings using a lambda.
H
- handleConnectionRequest(DittoConnectionRequest) - Method in interface com.ditto.java.DittoPresence.ConnectionRequestHandler
-
Handles an incoming connection request from a remote peer.
- handleExpiration(Ditto, double) - Method in interface com.ditto.java.DittoAuthenticator.ExpirationHandler
-
Handles authentication expiration.
- hashCode() - Method in class com.ditto.java.Ditto
- hashCode() - Method in class com.ditto.java.DittoAddress
- hashCode() - Method in class com.ditto.java.DittoAttachment
- hashCode() - Method in class com.ditto.java.DittoAttachmentFetcher
- hashCode() - Method in class com.ditto.java.DittoAttachmentToken
- hashCode() - Method in class com.ditto.java.DittoAuthenticationProvider
- hashCode() - Method in class com.ditto.java.DittoAuthenticationStatus
- hashCode() - Method in record class com.ditto.java.DittoAuthenticator.LoginResult
-
Returns a hash code value for this object.
- hashCode() - Method in class com.ditto.java.DittoConfig.Connect.Server
- hashCode() - Method in class com.ditto.java.DittoConfig.Connect.SmallPeersOnly
- hashCode() - Method in class com.ditto.java.DittoConfig.Experimental
- hashCode() - Method in class com.ditto.java.DittoConfig
- hashCode() - Method in class com.ditto.java.DittoConnection
- hashCode() - Method in class com.ditto.java.DittoConnectionRequest
- hashCode() - Method in class com.ditto.java.DittoDiskUsageItem
- hashCode() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenExpired
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenUnsupportedFutureVersion
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenVerificationFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.NotActivatedError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.AuthenticationExceptionReason.ExpirationHandlerMissing
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.AuthenticationExceptionReason.FailedToAuthenticate
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoAlreadyExists
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoNotFound
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoOperationFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoPermissionDenied
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.PresenceExceptionReason.FailedToDecodeJson
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.PresenceExceptionReason.FailedToEncodeJson
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentDataRetrievalError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFileCopyError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFileNotFound
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFilePermissionDenied
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentNotFound
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentTokenInvalid
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.BackendError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.CrdtError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.DocumentContentEncodingFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.DocumentNotFound
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToCopyAttachment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToCreateAttachment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeCounter
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeData
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeDocument
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToEncodeValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToFetchAttachment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToGetDocumentData
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToGetDocumentIDData
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToInitializeDittoDirectory
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidCrdtType
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidDocumentStructure
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidLiveQueryId
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidValueForCrdt
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.NoIdPresentInDocument
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.NonStringKeyInDocument
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.PersistenceDirectoryLocked
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryArgumentsInvalid
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryCompilationFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryInvalid
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryNotSupported
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.TransactionReadOnly
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.TransportExceptionReason.FailedToDecodeTransportDiagnostics
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.TransportExceptionReason.IncorrectPlatformTransportConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.Base64Invalid
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.DepthLimitExceeded
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InternalSubsystemUnavailable
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidCbor
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidDittoConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidJson
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.MissingKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.NotAMap
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.NotJsonCompatible
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.SizeLimitExceeded
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.UnknownSyncScope
-
Returns a hash code value for this object.
- hashCode() - Method in class com.ditto.java.DittoPeer
- hashCode() - Method in class com.ditto.java.DittoPresenceGraph
- hashCode() - Method in class com.ditto.java.DittoPresenceObserver
- hashCode() - Method in class com.ditto.java.DittoQueryResultItem
- hashCode() - Method in class com.ditto.java.DittoStoreObserver
- hashCode() - Method in class com.ditto.java.DittoSyncSubscription
- hashCode() - Method in class com.ditto.java.DittoTransportSnapshot
- hashCode() - Method in class com.ditto.java.serialization.DittoCborSerializable
- hashCode() - Method in class com.ditto.java.serialization.DittoJsonSerializable
- hashCode() - Method in class com.ditto.java.transports.DittoBluetoothLeConfig
- hashCode() - Method in class com.ditto.java.transports.DittoConnect
- hashCode() - Method in class com.ditto.java.transports.DittoGlobalConfig
- hashCode() - Method in class com.ditto.java.transports.DittoHttpListenConfig
- hashCode() - Method in class com.ditto.java.transports.DittoLanConfig
- hashCode() - Method in class com.ditto.java.transports.DittoListen
- hashCode() - Method in class com.ditto.java.transports.DittoPeerToPeer
- hashCode() - Method in class com.ditto.java.transports.DittoTcpListenConfig
- hashCode() - Method in class com.ditto.java.transports.DittoTransportConfig
- hashCode() - Method in class com.ditto.java.transports.DittoWifiAwareConfig
- HIGH - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementFrequency
- HIGH - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementPower
- http() - Method in class com.ditto.java.transports.DittoListen.Builder
-
Returns the HTTP listen configuration builder.
- http(DittoListen.Builder.UpdateHttpListenConfig) - Method in class com.ditto.java.transports.DittoListen.Builder
-
Configures HTTP listen using a lambda.
I
- i(String, Object) - Static method in class com.ditto.java.DittoLog
-
Logs an informational message.
- i(String, Object, Throwable) - Static method in class com.ditto.java.DittoLog
-
Logs an informational message with an associated throwable.
- id() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidLiveQueryId
-
Returns the value of the
idrecord component. - IncorrectPlatformTransportConfig(String) - Constructor for record class com.ditto.java.DittoException.TransportExceptionReason.IncorrectPlatformTransportConfig
-
Creates an instance of a
IncorrectPlatformTransportConfigrecord class. - INFO - Enum constant in enum class com.ditto.java.DittoLogLevel
-
Info log level - informational messages about application progress.
- interfaceIp() - Method in class com.ditto.java.transports.DittoTcpListenConfig.Builder
-
Returns the current interface IP address.
- interfaceIp(String) - Method in class com.ditto.java.transports.DittoTcpListenConfig.Builder
-
Sets the network interface IP address to bind to.
- internalReason - Variable in exception class com.ditto.java.DittoException
- InternalSubsystemUnavailable() - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.InternalSubsystemUnavailable
-
Creates an instance of a
InternalSubsystemUnavailablerecord class. - InvalidCbor(String) - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidCbor
-
Creates an instance of a
InvalidCborrecord class. - InvalidCrdtType(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.InvalidCrdtType
-
Creates an instance of a
InvalidCrdtTyperecord class. - InvalidDittoConfig(String) - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidDittoConfig
-
Creates an instance of a
InvalidDittoConfigrecord class. - InvalidDocumentStructure(byte[]) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.InvalidDocumentStructure
-
Creates an instance of a
InvalidDocumentStructurerecord class. - InvalidJson(String) - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidJson
-
Creates an instance of a
InvalidJsonrecord class. - InvalidLiveQueryId(int) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.InvalidLiveQueryId
-
Creates an instance of a
InvalidLiveQueryIdrecord class. - InvalidValueForCrdt(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.InvalidValueForCrdt
-
Creates an instance of a
InvalidValueForCrdtrecord class. - invoke(DittoException) - Method in interface com.ditto.java.DittoAuthenticator.LoginCallback
-
Invoked when the login operation completes.
- invoke(String, DittoException) - Method in interface com.ditto.java.DittoAuthenticator.LoginCallbackWithClientInfoJSON
-
Invoked when the login operation completes.
- IoAlreadyExists(String) - Constructor for record class com.ditto.java.DittoException.IoExceptionReason.IoAlreadyExists
-
Creates an instance of a
IoAlreadyExistsrecord class. - IoNotFound(String) - Constructor for record class com.ditto.java.DittoException.IoExceptionReason.IoNotFound
-
Creates an instance of a
IoNotFoundrecord class. - IoOperationFailed(String) - Constructor for record class com.ditto.java.DittoException.IoExceptionReason.IoOperationFailed
-
Creates an instance of a
IoOperationFailedrecord class. - IoPermissionDenied(String) - Constructor for record class com.ditto.java.DittoException.IoExceptionReason.IoPermissionDenied
-
Creates an instance of a
IoPermissionDeniedrecord class. - isActivated() - Method in class com.ditto.java.Ditto
-
Returns a flag indicating whether the SDK has been activated with a valid license token.
- isAuthenticated() - Method in class com.ditto.java.DittoAuthenticationStatus
-
Returns
trueif the Ditto instance is currently authenticated,falseotherwise. - isClosed() - Method in class com.ditto.java.DittoQueryResult
- isClosed() - Method in class com.ditto.java.DittoStoreObserver
-
Returns whether this store observer is closed.
- isClosed() - Method in class com.ditto.java.DittoSyncSubscription
-
Returns whether the sync subscription has been closed.
- isCompatible() - Method in class com.ditto.java.DittoPeer
-
Indicates whether the peer is compatible with the current peer.
- isConnectedToDittoCloud() - Method in class com.ditto.java.DittoPeer
-
Indicates whether the peer is connected to the Ditto Cloud (big peer).
- isCoreExceptionBridgingEnabled() - Method in class com.ditto.java.DittoConfig.Experimental
-
Returns whether core exception bridging is enabled.
- isCoreExceptionBridgingEnabled(boolean) - Method in class com.ditto.java.DittoConfig.Experimental.Builder
-
Sets whether core exception bridging is enabled.
- isEmpty() - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary
-
Checks if this dictionary is empty.
- isEmpty() - Method in class com.ditto.java.serialization.DittoJsonSerializable.ObjectValue
-
Checks if this JSON object is empty.
- isEnabled() - Static method in class com.ditto.java.DittoLogger
-
Checks whether logging is enabled.
- isEnabled() - Method in class com.ditto.java.transports.DittoBluetoothLeConfig.Builder
-
Returns whether Bluetooth LE is currently enabled.
- isEnabled() - Method in class com.ditto.java.transports.DittoBluetoothLeConfig
-
Returns whether Bluetooth LE transport is enabled.
- isEnabled() - Method in class com.ditto.java.transports.DittoHttpListenConfig.Builder
-
Returns whether HTTP listening is currently enabled.
- isEnabled() - Method in class com.ditto.java.transports.DittoHttpListenConfig
-
Returns whether HTTP listening is enabled.
- isEnabled() - Method in class com.ditto.java.transports.DittoLanConfig.Builder
-
Returns whether LAN transport is currently enabled.
- isEnabled() - Method in class com.ditto.java.transports.DittoLanConfig
-
Returns whether LAN transport is enabled.
- isEnabled() - Method in class com.ditto.java.transports.DittoTcpListenConfig.Builder
-
Returns whether TCP listening is currently enabled.
- isEnabled() - Method in class com.ditto.java.transports.DittoTcpListenConfig
-
Returns whether TCP listening is enabled.
- isEnabled() - Method in class com.ditto.java.transports.DittoWifiAwareConfig.Builder
-
Returns whether Wi-Fi Aware is currently enabled.
- isEnabled() - Method in class com.ditto.java.transports.DittoWifiAwareConfig
-
Returns whether Wi-Fi Aware transport is enabled.
- isEnabled(boolean) - Method in class com.ditto.java.transports.DittoBluetoothLeConfig.Builder
-
Sets whether Bluetooth LE transport should be enabled.
- isEnabled(boolean) - Method in class com.ditto.java.transports.DittoHttpListenConfig.Builder
-
Sets whether HTTP listening should be enabled.
- isEnabled(boolean) - Method in class com.ditto.java.transports.DittoLanConfig.Builder
-
Sets whether LAN transport should be enabled.
- isEnabled(boolean) - Method in class com.ditto.java.transports.DittoTcpListenConfig.Builder
-
Sets whether TCP listening should be enabled.
- isEnabled(boolean) - Method in class com.ditto.java.transports.DittoWifiAwareConfig.Builder
-
Sets whether Wi-Fi Aware transport should be enabled.
- isMaterialized() - Method in class com.ditto.java.DittoQueryResultItem
-
Returns whether the value is currently materialized in memory.
- isMdnsEnabled() - Method in class com.ditto.java.transports.DittoLanConfig.Builder
-
Returns whether mDNS discovery is currently enabled.
- isMdnsEnabled() - Method in class com.ditto.java.transports.DittoLanConfig
-
Returns whether mDNS (Multicast DNS) discovery is enabled.
- isMdnsEnabled(boolean) - Method in class com.ditto.java.transports.DittoLanConfig.Builder
-
Sets whether mDNS (Multicast DNS) discovery should be enabled.
- isMulticastEnabled() - Method in class com.ditto.java.transports.DittoLanConfig.Builder
-
Returns whether multicast discovery is currently enabled.
- isMulticastEnabled() - Method in class com.ditto.java.transports.DittoLanConfig
-
Returns whether multicast discovery is enabled.
- isMulticastEnabled(boolean) - Method in class com.ditto.java.transports.DittoLanConfig.Builder
-
Sets whether multicast discovery should be enabled.
- isNull() - Method in class com.ditto.java.serialization.DittoCborSerializable
-
Checks if this value represents null.
- isNull() - Method in class com.ditto.java.serialization.DittoJsonSerializable
-
Checks if this value represents null.
- isReadOnly() - Method in class com.ditto.java.DittoTransactionInfo
-
Indicates whether mutating DQL statements can be executed in the transaction.
- isSyncActive() - Method in class com.ditto.java.Ditto
-
Returns a flag indicating whether sync is active.
- isWebsocketSync() - Method in class com.ditto.java.transports.DittoHttpListenConfig.Builder
-
Returns whether WebSocket sync is currently enabled.
- isWebsocketSync() - Method in class com.ditto.java.transports.DittoHttpListenConfig
-
Returns whether WebSocket sync is enabled.
- isWebsocketSync(boolean) - Method in class com.ditto.java.transports.DittoHttpListenConfig.Builder
-
Sets whether WebSocket sync should be enabled.
- iterator() - Method in class com.ditto.java.serialization.DittoCborSerializable.Array
-
Returns an iterator over the elements in this array.
K
- key() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.NonStringKeyInDocument
-
Returns the value of the
keyrecord component. - keyName() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.MissingKey
-
Returns the value of the
keyNamerecord component.
L
- lan() - Method in class com.ditto.java.transports.DittoPeerToPeer.Builder
-
Returns the LAN configuration builder.
- lan(DittoPeerToPeer.Builder.UpdateLanConfig) - Method in class com.ditto.java.transports.DittoPeerToPeer.Builder
-
Configures LAN transport using a lambda.
- LicenseTokenExpired(String) - Constructor for record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenExpired
-
Creates an instance of a
LicenseTokenExpiredrecord class. - LicenseTokenUnsupportedFutureVersion(String) - Constructor for record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenUnsupportedFutureVersion
-
Creates an instance of a
LicenseTokenUnsupportedFutureVersionrecord class. - LicenseTokenVerificationFailed(String) - Constructor for record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenVerificationFailed
-
Creates an instance of a
LicenseTokenVerificationFailedrecord class. - listen() - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
-
Returns the listen configuration builder.
- listen(DittoTransportConfig.Builder.UpdateListenConfig) - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
-
Configures listen transports using a lambda.
- log(DittoLogLevel, String, String, Throwable) - Method in class com.ditto.java.DittoLogDecorator
-
Logs a message with the specified log level, tag, message, and optional error.
- log(DittoLogLevel, String) - Method in interface com.ditto.java.DittoLogCallback
-
Called when a log message is emitted by Ditto.
- login(String, DittoAuthenticationProvider) - Method in class com.ditto.java.DittoAuthenticator
-
Logs in to Ditto with a third-party authentication token.
- login(String, String) - Method in class com.ditto.java.DittoAuthenticator
-
Logs in to Ditto with a third-party authentication token.
- login(String, String, DittoAuthenticator.LoginCallbackWithClientInfoJSON) - Method in class com.ditto.java.DittoAuthenticator
-
Logs in to Ditto with a third-party authentication token using a callback.
- LoginResult(String, DittoException) - Constructor for record class com.ditto.java.DittoAuthenticator.LoginResult
-
Creates an instance of a
LoginResultrecord class. - loginWithCredentials(String, String, String) - Method in class com.ditto.java.DittoAuthenticator
-
Logs in to Ditto with a username and password.
- loginWithCredentials(String, String, String, DittoAuthenticator.LoginCallback) - Method in class com.ditto.java.DittoAuthenticator
-
Logs in to Ditto with a username and password using a callback.
- logout() - Method in class com.ditto.java.DittoAuthenticator
-
Logs out of Ditto.
- logout(DittoAuthenticator.LogoutCleanup) - Method in class com.ditto.java.DittoAuthenticator
-
Logs out of Ditto with optional cleanup.
- LOW - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementFrequency
- LOW - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementPower
M
- materialize() - Method in class com.ditto.java.DittoQueryResultItem
-
Loads and materializes the item's content into memory.
- MDNS - Enum constant in enum class com.ditto.java.DittoConditionSource
-
Multicast DNS (mDNS) discovery.
- MDNS_FAILURE - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
The mDNS (Multicast DNS) service has failed.
- MEDIUM - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementFrequency
- MEDIUM - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementPower
- message() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenExpired
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenUnsupportedFutureVersion
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenVerificationFailed
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.NotActivatedError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.AuthenticationExceptionReason.ExpirationHandlerMissing
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoAlreadyExists
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoNotFound
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoOperationFailed
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoPermissionDenied
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFileNotFound
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFilePermissionDenied
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentNotFound
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentTokenInvalid
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.BackendError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.CrdtError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToCreateAttachment
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeCounter
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToEncodeValue
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToFetchAttachment
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidCrdtType
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidValueForCrdt
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.PersistenceDirectoryLocked
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryInvalid
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryNotSupported
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.TransactionReadOnly
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.Base64Invalid
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidCbor
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidDittoConfig
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidJson
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.NotJsonCompatible
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.UnknownSyncScope
-
Returns the value of the
messagerecord component. - MissingKey(String) - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.MissingKey
-
Creates an instance of a
MissingKeyrecord class.
N
- newAttachment(InputStream) - Method in class com.ditto.java.DittoStore
-
Creates a new attachment, which can then be inserted into a document.
- newAttachment(InputStream, DittoCborSerializable.Dictionary) - Method in class com.ditto.java.DittoStore
-
Creates a new attachment, which can then be inserted into a document.
- newAttachment(String) - Method in class com.ditto.java.DittoStore
-
Creates a new attachment, which can then be inserted into a document.
- newAttachment(String, DittoCborSerializable.Dictionary) - Method in class com.ditto.java.DittoStore
-
Creates a new attachment, which can then be inserted into a document.
- newAttachmentBlocking(InputStream) - Method in class com.ditto.java.DittoStore
-
A blocking alternative to
DittoStore.newAttachment(InputStream). - newAttachmentBlocking(InputStream, DittoCborSerializable.Dictionary) - Method in class com.ditto.java.DittoStore
-
A blocking alternative to
DittoStore.newAttachment(InputStream, DittoCborSerializable.Dictionary). - newAttachmentBlocking(String) - Method in class com.ditto.java.DittoStore
-
A blocking alternative to
DittoStore.newAttachment(String). - newAttachmentBlocking(String, DittoCborSerializable.Dictionary) - Method in class com.ditto.java.DittoStore
-
A blocking alternative to
DittoStore.newAttachment(String, DittoCborSerializable.Dictionary). - NO_BLE_CENTRAL_PERMISSION - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
The application lacks permission to use Bluetooth LE in central mode.
- NO_BLE_HARDWARE - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
The device does not have Bluetooth hardware.
- NO_BLE_PERIPHERAL_PERMISSION - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
The application lacks permission to use Bluetooth LE in peripheral mode.
- NoIdPresentInDocument() - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.NoIdPresentInDocument
-
Creates an instance of a
NoIdPresentInDocumentrecord class. - NonStringKeyInDocument(byte[]) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.NonStringKeyInDocument
-
Creates an instance of a
NonStringKeyInDocumentrecord class. - NotActivatedError(String) - Constructor for record class com.ditto.java.DittoException.ActivationExceptionReason.NotActivatedError
-
Creates an instance of a
NotActivatedErrorrecord class. - NotAMap() - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.NotAMap
-
Creates an instance of a
NotAMaprecord class. - NotJsonCompatible(String) - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.NotJsonCompatible
-
Creates an instance of a
NotJsonCompatiblerecord class. - nullValue() - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Returns a CBOR null value.
- nullValue() - Static method in class com.ditto.java.serialization.DittoJsonSerializable
-
Returns a JSON null value.
O
- observe() - Method in class com.ditto.java.DittoDiskUsage
-
Observes disk usage changes using a reactive streams publisher.
- observe() - Method in class com.ditto.java.DittoPresence
-
Returns a Flow Publisher that emits presence graph updates.
- observe(DittoDiskUsageCallback) - Method in class com.ditto.java.DittoDiskUsage
-
Observes disk usage changes using a callback.
- observe(DittoPresence.PresenceGraphChangedListener) - Method in class com.ditto.java.DittoPresence
-
Requests information about Ditto peers in the local peer-to-peer network.
- observe(String, DittoCborSerializable.Dictionary, Function<DittoQueryResult, CompletionStage<T>>) - Method in class com.ditto.java.DittoStore
-
Returns a Flow Publisher that emits transformed query results whenever the local store changes.
- observe(String, Function<DittoQueryResult, CompletionStage<T>>) - Method in class com.ditto.java.DittoStore
-
Returns a Flow Publisher that emits transformed query results whenever the local store changes.
- observeStatus() - Method in class com.ditto.java.DittoAuthenticator
-
Returns a Flow Publisher that emits authentication status changes.
- observeStatus(DittoAuthenticator.StatusListener) - Method in class com.ditto.java.DittoAuthenticator
-
Observes authentication status changes using a listener.
- of(boolean) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a CBOR-serializable value from a boolean.
- of(boolean) - Static method in class com.ditto.java.serialization.DittoJsonSerializable
-
Creates a JSON-serializable value from a boolean.
- of(byte) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a CBOR-serializable value from a byte.
- of(byte[]) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a CBOR-serializable value from a byte array.
- of(double) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a CBOR-serializable value from a double.
- of(double) - Static method in class com.ditto.java.serialization.DittoJsonSerializable
-
Creates a JSON-serializable value from a double.
- of(float) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a CBOR-serializable value from a float.
- of(float) - Static method in class com.ditto.java.serialization.DittoJsonSerializable
-
Creates a JSON-serializable value from a float.
- of(int) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a CBOR-serializable value from an int.
- of(int) - Static method in class com.ditto.java.serialization.DittoJsonSerializable
-
Creates a JSON-serializable value from an int.
- of(long) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a CBOR-serializable value from a long.
- of(long) - Static method in class com.ditto.java.serialization.DittoJsonSerializable
-
Creates a JSON-serializable value from a long.
- of(short) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a CBOR-serializable value from a short.
- of(String) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a CBOR-serializable value from a string.
- of(String) - Static method in class com.ditto.java.serialization.DittoJsonSerializable
-
Creates a JSON-serializable value from a string.
- of(BigInteger) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a CBOR-serializable value from a
BigInteger. - of(List<DittoJsonSerializable>) - Static method in class com.ditto.java.serialization.DittoJsonSerializable
-
Creates a JSON-serializable value from a list (JSON array).
- of(Map<String, DittoJsonSerializable>) - Static method in class com.ditto.java.serialization.DittoJsonSerializable
-
Creates a JSON-serializable value from a map (JSON object).
- OK - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
The transport is operating normally with no known issues.
- onAuthenticationExpiringSoon(DittoAuthenticator, long) - Method in interface com.ditto.java.DittoAuthenticationCallback
-
Warns that the Ditto authentication token is getting old.
- onAuthenticationRequired(DittoAuthenticator) - Method in interface com.ditto.java.DittoAuthenticationCallback
-
There is no Ditto authentication token or it has expired.
- onAuthenticationStatusDidChange(DittoAuthenticator) - Method in interface com.ditto.java.DittoAuthenticationCallback
-
Notifies the callback object that the authentication status did change.
- onChange(DittoQueryResult) - Method in interface com.ditto.java.DittoChangeListener
- onChange(DittoQueryResult, DittoSignalNext) - Method in interface com.ditto.java.DittoChangeListenerWithNextSignal
- onFetchProgress(DittoULong, DittoULong) - Method in interface com.ditto.java.DittoAttachmentFetchProgressHandler
-
Called when attachment fetch progress is updated.
- onGraphChanged(DittoPresenceGraph) - Method in interface com.ditto.java.DittoPresence.PresenceGraphChangedListener
-
Called when the presence graph has changed.
- onStatusChanged(DittoAuthenticationStatus) - Method in interface com.ditto.java.DittoAuthenticator.StatusListener
-
Called when the authentication status changes.
- onTransaction(DittoTransaction) - Method in interface com.ditto.java.DittoTransactionFunction
-
Executes operations within the provided transaction.
- onTransportConditionDidChange(DittoTransportCondition, DittoConditionSource) - Method in interface com.ditto.java.DittoTransportConditionChangedCallback
-
Called when a transport's operational condition changes.
- onUpdate(DittoDiskUsageItem) - Method in interface com.ditto.java.DittoDiskUsageCallback
-
Called when disk usage information is updated.
P
- P2PWIFI - Enum constant in enum class com.ditto.java.DittoConnectionType
-
Peer-to-peer Wi-Fi transport.
- path() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToGetDocumentData
-
Returns the value of the
pathrecord component. - path() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToGetDocumentIDData
-
Returns the value of the
pathrecord component. - peerToPeer() - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
-
Returns the peer-to-peer configuration builder.
- peerToPeer(DittoTransportConfig.Builder.UpdatePeerToPeerConfig) - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
-
Configures peer-to-peer transports using a lambda.
- persistenceDirectory(File) - Method in class com.ditto.java.DittoConfig.Builder
-
Sets the persistence directory.
- persistenceDirectory(String) - Method in class com.ditto.java.DittoConfig.Builder
-
Sets the persistence directory.
- PersistenceDirectoryLocked(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.PersistenceDirectoryLocked
-
Creates an instance of a
PersistenceDirectoryLockedrecord class. - port() - Method in class com.ditto.java.transports.DittoHttpListenConfig.Builder
-
Returns the current port number.
- port() - Method in class com.ditto.java.transports.DittoTcpListenConfig.Builder
-
Returns the current port number.
- port(int) - Method in class com.ditto.java.transports.DittoHttpListenConfig.Builder
-
Sets the HTTP port number to listen on.
- port(int) - Method in class com.ditto.java.transports.DittoTcpListenConfig.Builder
-
Sets the TCP port number to listen on.
- put(DittoCborSerializable, DittoAttachment) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a key-value pair where the key is CBOR-serializable and the value is an attachment.
- put(DittoCborSerializable, DittoCborSerializable) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a key-value pair where both are CBOR-serializable values.
- put(String, boolean) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a string key with a boolean value.
- put(String, byte[]) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a string key with a byte array value.
- put(String, double) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a string key with a double value.
- put(String, float) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a string key with a float value.
- put(String, int) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a string key with an int value.
- put(String, long) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a string key with a long value.
- put(String, DittoAttachment) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a key-value pair where the key is a string and the value is an attachment.
- put(String, DittoCborSerializable) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a key-value pair where the key is a string and the value is CBOR-serializable.
- put(String, String) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds a string key-value pair.
- putAll(DittoCborSerializable.Dictionary) - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary.Builder
-
Adds all key-value pairs from another dictionary.
Q
- query() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryCompilationFailed
-
Returns the value of the
queryrecord component. - QueryArgumentsInvalid() - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.QueryArgumentsInvalid
-
Creates an instance of a
QueryArgumentsInvalidrecord class. - QueryCompilationFailed(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.QueryCompilationFailed
-
Creates an instance of a
QueryCompilationFailedrecord class. - QueryError(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.QueryError
-
Creates an instance of a
QueryErrorrecord class. - QueryInvalid(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.QueryInvalid
-
Creates an instance of a
QueryInvalidrecord class. - QueryNotSupported(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.QueryNotSupported
-
Creates an instance of a
QueryNotSupportedrecord class.
R
- refreshPermissions() - Method in class com.ditto.java.Ditto
-
Provides a hint to Ditto that app permissions may have changed.
- registerObserver(String, DittoChangeListener) - Method in class com.ditto.java.DittoStore
-
Convenience method that registers an observer where
signalNextis called automatically after thechangeHandlerfinishes. - registerObserver(String, DittoChangeListenerWithNextSignal) - Method in class com.ditto.java.DittoStore
-
Installs and returns a store observer for a query, configuring Ditto to trigger the passed in change handler whenever documents in the local store change such that the result of the matching query changes.
- registerObserver(String, DittoCborSerializable.Dictionary, DittoChangeListener) - Method in class com.ditto.java.DittoStore
-
Convenience method that registers an observer where
signalNextis called automatically after thechangeHandlerfinishes. - registerObserver(String, DittoCborSerializable.Dictionary, DittoChangeListenerWithNextSignal) - Method in class com.ditto.java.DittoStore
-
Installs and returns a store observer for a query, configuring Ditto to trigger the passed in change handler whenever documents in the local store change such that the result of the matching query changes.
- registerSubscription(String) - Method in class com.ditto.java.DittoSync
-
Installs and returns a sync subscription for a query, configuring Ditto to receive updates from other peers for documents matching that query.
- registerSubscription(String, DittoCborSerializable.Dictionary) - Method in class com.ditto.java.DittoSync
-
Installs and returns a sync subscription for a query, configuring Ditto to receive updates from other peers for documents matching that query.
- Result(InternalDittoTransaction.Result<T>) - Constructor for class com.ditto.java.DittoTransaction.Result
- retryIntervalMs() - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Returns the current retry interval in milliseconds.
- retryIntervalMs(long) - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Sets the retry interval for connection attempts.
- Rollback() - Constructor for class com.ditto.java.DittoTransaction.Result.Rollback
-
Creates a rollback result.
- routingHint() - Method in class com.ditto.java.transports.DittoGlobalConfig.Builder
-
Returns the current routing hint.
- routingHint(DittoUInt) - Method in class com.ditto.java.transports.DittoGlobalConfig.Builder
-
Sets the routing hint for this device.
- runCleanup(Ditto) - Method in interface com.ditto.java.DittoAuthenticator.LogoutCleanup
-
Runs cleanup operations with access to the Ditto instance.
S
- serializeToJson() - Method in class com.ditto.java.DittoPresenceGraph
-
Serializes the presence graph to a JSON string.
- Server(String) - Constructor for class com.ditto.java.DittoConfig.Connect.Server
-
Creates a Server connection configuration with the specified URL.
- Server(URI) - Constructor for class com.ditto.java.DittoConfig.Connect.Server
-
Creates a Server connection configuration with the specified URL.
- serverConnect(String) - Method in class com.ditto.java.DittoConfig.Builder
-
Sets the connection to use a Big Peer server with the specified URL.
- serverConnect(URI) - Method in class com.ditto.java.DittoConfig.Builder
-
Sets the connection to use a Big Peer server with the specified URL.
- setCallback(DittoAuthenticationCallback) - Method in class com.ditto.java.DittoAuthenticator
-
Sets the authentication callback to receive authentication events.
- setCallback(DittoTransportConditionChangedCallback) - Method in class com.ditto.java.Ditto
-
Sets an optional callback that will be called with lifecycle events relating to the SDK.
- setConnectionRequestHandler(DittoPresence.ConnectionRequestHandler) - Method in class com.ditto.java.DittoPresence
-
Sets a handler to control which peers in a Ditto mesh can connect to the current peer.
- setCustomLogCallback(DittoLogCallback) - Static method in class com.ditto.java.DittoLogger
-
Registers a callback for custom handling of log events.
- setDeviceName(String) - Method in class com.ditto.java.Ditto
-
Configure a custom identifier for this peer.
- setEnabled(boolean) - Static method in class com.ditto.java.DittoLogger
-
Sets whether logging is enabled.
- setExpirationHandler(DittoAuthenticator.ExpirationHandler) - Method in class com.ditto.java.DittoAuthenticator
-
Sets a handler to be called when authentication is about to expire.
- setLogDecorator(DittoLogDecorator) - Static method in class com.ditto.java.DittoLog
-
Sets a custom log decorator for formatting log messages.
- setLogFile(String) - Static method in class com.ditto.java.DittoLogger
-
Registers a file path where logs will be written, in addition to console output.
- setMinimumLogLevel(DittoLogLevel) - Static method in class com.ditto.java.DittoLogger
-
Sets the minimum log level at which logs will be logged, provided
DittoLogger.isEnabled()istrue. - setOfflineOnlyLicenseToken(String) - Method in class com.ditto.java.Ditto
-
Activates an offline
Dittoinstance by setting a license token. - setPeerMetadata(DittoJsonSerializable.ObjectValue) - Method in class com.ditto.java.DittoPresence
-
Sets metadata to be associated with the current peer.
- setPeerMetadataJsonString(String) - Method in class com.ditto.java.DittoPresence
-
Sets metadata to be associated with the current peer from a JSON string.
- setTcpServers(String...) - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Sets the TCP servers to connect to, replacing any existing servers.
- setTcpServers(Collection<String>) - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Sets the TCP servers to connect to, replacing any existing servers.
- setTransportConfig(DittoTransportConfig) - Method in class com.ditto.java.Ditto
-
Assigns a new transports configuration.
- setWebsocketUrls(String...) - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Sets the WebSocket URLs to connect to, replacing any existing URLs.
- setWebsocketUrls(Collection<String>) - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Sets the WebSocket URLs to connect to, replacing any existing URLs.
- signal() - Method in interface com.ditto.java.DittoSignalNext
-
Signals that the next item should be delivered.
- size() - Method in class com.ditto.java.serialization.DittoCborSerializable.Array
-
Returns the number of elements in this array.
- size() - Method in class com.ditto.java.serialization.DittoCborSerializable.Dictionary
-
Returns the number of key-value pairs in this dictionary.
- SizeLimitExceeded() - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.SizeLimitExceeded
-
Creates an instance of a
SizeLimitExceededrecord class. - SmallPeersOnly() - Constructor for class com.ditto.java.DittoConfig.Connect.SmallPeersOnly
-
Creates a SmallPeersOnly connection configuration with an auto-generated private key.
- SmallPeersOnly(String) - Constructor for class com.ditto.java.DittoConfig.Connect.SmallPeersOnly
-
Creates a SmallPeersOnly connection configuration with the specified private key.
- smallPeersOnlyConnect(String) - Method in class com.ditto.java.DittoConfig.Builder
-
Sets the connection to use small peers only mode with the specified private key.
- SOURCE - Enum constant in enum class com.ditto.java.DittoConditionSource
-
Source-based condition.
- startSync() - Method in class com.ditto.java.Ditto
-
Starts the network transports.
- stopSync() - Method in class com.ditto.java.Ditto
-
Stops all network transports.
- SYMLINK - Enum constant in enum class com.ditto.java.DittoFileSystemType
-
A symbolic link pointing to another file or directory.
- syncGroup() - Method in class com.ditto.java.transports.DittoGlobalConfig.Builder
-
Returns the current sync group.
- syncGroup(DittoUInt) - Method in class com.ditto.java.transports.DittoGlobalConfig.Builder
-
Sets the sync group for this device.
T
- tagged(long, DittoCborSerializable) - Static method in class com.ditto.java.serialization.DittoCborSerializable
-
Creates a tagged CBOR value.
- tcp() - Method in class com.ditto.java.transports.DittoListen.Builder
-
Returns the TCP listen configuration builder.
- tcp(DittoListen.Builder.UpdateTcpListenConfig) - Method in class com.ditto.java.transports.DittoListen.Builder
-
Configures TCP listen using a lambda.
- TCP - Enum constant in enum class com.ditto.java.DittoConditionSource
-
TCP transport.
- TCP_LISTEN_FAILURE - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
Failed to establish a TCP listening socket.
- tcpServers() - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Returns the current set of configured TCP servers.
- TEMPORARILY_UNAVAILABLE - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
The transport is temporarily unavailable.
- tlsCertificatePath() - Method in class com.ditto.java.transports.DittoHttpListenConfig.Builder
-
Returns the current TLS certificate path.
- tlsCertificatePath(String) - Method in class com.ditto.java.transports.DittoHttpListenConfig.Builder
-
Sets the path to the TLS certificate file for secure connections.
- tlsKeyPath() - Method in class com.ditto.java.transports.DittoHttpListenConfig.Builder
-
Returns the current TLS key path.
- tlsKeyPath(String) - Method in class com.ditto.java.transports.DittoHttpListenConfig.Builder
-
Sets the path to the TLS private key file for secure connections.
- toBigInteger() - Method in interface com.ditto.java.DittoULong
-
Returns this unsigned integer as a
BigInteger. - toIntData() - Method in interface com.ditto.java.DittoUInt
-
Returns the raw 32-bit representation as a signed Java
int. - toLong() - Method in interface com.ditto.java.DittoUInt
-
Returns this unsigned integer as a signed
longvalue. - toLongData() - Method in interface com.ditto.java.DittoULong
-
Returns the raw 64-bit representation as a signed Java
long. - toString() - Method in class com.ditto.java.Ditto
- toString() - Method in class com.ditto.java.DittoAddress
- toString() - Method in class com.ditto.java.DittoAttachment
- toString() - Method in class com.ditto.java.DittoAttachmentFetcher
- toString() - Method in class com.ditto.java.DittoAuthenticationProvider
- toString() - Method in record class com.ditto.java.DittoAuthenticator.LoginResult
-
Returns a string representation of this record class.
- toString() - Method in class com.ditto.java.DittoConfig.Connect.Server
- toString() - Method in class com.ditto.java.DittoConfig.Connect.SmallPeersOnly
- toString() - Method in class com.ditto.java.DittoConfig.Experimental
- toString() - Method in class com.ditto.java.DittoConfig
- toString() - Method in class com.ditto.java.DittoConnection
- toString() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenExpired
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenUnsupportedFutureVersion
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.LicenseTokenVerificationFailed
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ActivationExceptionReason.NotActivatedError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.AuthenticationExceptionReason.ExpirationHandlerMissing
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.AuthenticationExceptionReason.FailedToAuthenticate
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoAlreadyExists
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoNotFound
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoOperationFailed
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.IoExceptionReason.IoPermissionDenied
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.PresenceExceptionReason.FailedToDecodeJson
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.PresenceExceptionReason.FailedToEncodeJson
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentDataRetrievalError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFileCopyError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFileNotFound
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentFilePermissionDenied
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentNotFound
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.AttachmentTokenInvalid
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.BackendError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.CrdtError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.DocumentContentEncodingFailed
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.DocumentNotFound
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToCopyAttachment
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToCreateAttachment
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeCounter
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeData
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeDocument
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToDecodeValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToEncodeValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToFetchAttachment
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToGetDocumentData
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToGetDocumentIDData
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToInitializeDittoDirectory
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidCrdtType
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidDocumentStructure
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidLiveQueryId
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.InvalidValueForCrdt
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.NoIdPresentInDocument
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.NonStringKeyInDocument
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.PersistenceDirectoryLocked
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryArgumentsInvalid
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryCompilationFailed
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryInvalid
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.QueryNotSupported
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.TransactionReadOnly
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.TransportExceptionReason.FailedToDecodeTransportDiagnostics
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.TransportExceptionReason.IncorrectPlatformTransportConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.Base64Invalid
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.DepthLimitExceeded
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InternalSubsystemUnavailable
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidCbor
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidDittoConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.InvalidJson
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.MissingKey
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.NotAMap
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.NotJsonCompatible
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.SizeLimitExceeded
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoException.ValidationExceptionReason.UnknownSyncScope
-
Returns a string representation of this record class.
- toString() - Method in class com.ditto.java.DittoPeer
- toString() - Method in class com.ditto.java.DittoPresenceGraph
- toString() - Method in class com.ditto.java.serialization.DittoCborSerializable
- toString() - Method in class com.ditto.java.serialization.DittoJsonSerializable
- toString() - Method in class com.ditto.java.transports.DittoBluetoothLeConfig
- toString() - Method in class com.ditto.java.transports.DittoConnect
- toString() - Method in class com.ditto.java.transports.DittoGlobalConfig
- toString() - Method in class com.ditto.java.transports.DittoHttpListenConfig
- toString() - Method in class com.ditto.java.transports.DittoLanConfig
- toString() - Method in class com.ditto.java.transports.DittoListen
- toString() - Method in class com.ditto.java.transports.DittoPeerToPeer
- toString() - Method in class com.ditto.java.transports.DittoTcpListenConfig
- toString() - Method in class com.ditto.java.transports.DittoTransportConfig
- toString() - Method in class com.ditto.java.transports.DittoWifiAwareConfig
- transaction(boolean, DittoTransactionFunction<T>) - Method in class com.ditto.java.DittoStore
-
Executes multiple DQL queries within a single atomic transaction.
- transaction(DittoTransactionFunction<T>) - Method in class com.ditto.java.DittoStore
-
Executes multiple DQL queries within a single atomic transaction.
- transaction(String, boolean, DittoTransactionFunction<T>) - Method in class com.ditto.java.DittoStore
-
Executes multiple DQL queries within a single atomic transaction.
- transaction(String, DittoTransactionFunction<T>) - Method in class com.ditto.java.DittoStore
-
Executes multiple DQL queries within a single atomic transaction.
- TransactionReadOnly(String) - Constructor for record class com.ditto.java.DittoException.StoreExceptionReason.TransactionReadOnly
-
Creates an instance of a
TransactionReadOnlyrecord class.
U
- UNKNOWN - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
The transport condition is unknown or could not be determined.
- UnknownSyncScope(String) - Constructor for record class com.ditto.java.DittoException.ValidationExceptionReason.UnknownSyncScope
-
Creates an instance of a
UnknownSyncScoperecord class. - unsetCustomLogCallback() - Static method in class com.ditto.java.DittoLogger
-
Unregisters the currently registered custom log callback.
- update(DittoBluetoothLeConfig.Builder) - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder.UpdateBluetoothLeConfig
-
Updates the Bluetooth LE configuration.
- update(DittoConnect.Builder) - Method in interface com.ditto.java.transports.DittoTransportConfig.Builder.UpdateConnectConfig
-
Updates the connect configuration.
- update(DittoGlobalConfig.Builder) - Method in interface com.ditto.java.transports.DittoTransportConfig.Builder.UpdateGlobalConfig
-
Updates the global configuration.
- update(DittoHttpListenConfig.Builder) - Method in interface com.ditto.java.transports.DittoListen.Builder.UpdateHttpListenConfig
-
Updates the HTTP listen configuration.
- update(DittoLanConfig.Builder) - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder.UpdateLanConfig
-
Updates the LAN configuration.
- update(DittoListen.Builder) - Method in interface com.ditto.java.transports.DittoTransportConfig.Builder.UpdateListenConfig
-
Updates the listen configuration.
- update(DittoPeerToPeer.Builder) - Method in interface com.ditto.java.transports.DittoTransportConfig.Builder.UpdatePeerToPeerConfig
-
Updates the peer-to-peer configuration.
- update(DittoTcpListenConfig.Builder) - Method in interface com.ditto.java.transports.DittoListen.Builder.UpdateTcpListenConfig
-
Updates the TCP listen configuration.
- update(DittoWifiAwareConfig.Builder) - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder.UpdateWifiAwareConfig
-
Updates the Wi-Fi Aware configuration.
- updateTransportConfig(Ditto.UpdateTransportConfig) - Method in class com.ditto.java.Ditto
-
Convenience method to update the current transport config of the receiver.
- updateTransportConfig(DittoTransportConfig.Builder) - Method in interface com.ditto.java.Ditto.UpdateTransportConfig
-
Updates the transport configuration.
V
- v(String, Object) - Static method in class com.ditto.java.DittoLog
-
Logs a verbose message.
- v(String, Object, Throwable) - Static method in class com.ditto.java.DittoLog
-
Logs a verbose message with an associated throwable.
- value() - Method in record class com.ditto.java.DittoException.StoreExceptionReason.FailedToEncodeValue
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class com.ditto.java.DittoConditionSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoConnectionRequestAuthorization
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoConnectionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoFileSystemType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoLogLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoTransportCondition
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.transports.DittoAdvertisementFrequency
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.transports.DittoAdvertisementPower
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.ditto.java.DittoConditionSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoConnectionRequestAuthorization
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoConnectionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoFileSystemType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoLogLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoTransportCondition
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.transports.DittoAdvertisementFrequency
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.transports.DittoAdvertisementPower
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERBOSE - Enum constant in enum class com.ditto.java.DittoLogLevel
-
Verbose log level - most detailed logging for deep diagnostics.
- VERY_LOW - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementPower
W
- w(String, Object) - Static method in class com.ditto.java.DittoLog
-
Logs a warning message.
- w(String, Object, Throwable) - Static method in class com.ditto.java.DittoLog
-
Logs a warning message with an associated throwable.
- WARNING - Enum constant in enum class com.ditto.java.DittoLogLevel
-
Warning log level - potentially problematic situations.
- WEBSOCKET - Enum constant in enum class com.ditto.java.DittoConnectionType
-
WebSocket connection to a remote server.
- websocketUrls() - Method in class com.ditto.java.transports.DittoConnect.Builder
-
Returns the current set of configured WebSocket URLs.
- WIFI_DISABLED - Enum constant in enum class com.ditto.java.DittoTransportCondition
-
Wi-Fi is disabled on the device.
- wifiAware() - Method in class com.ditto.java.transports.DittoPeerToPeer.Builder
-
Returns the Wi-Fi Aware configuration builder.
- wifiAware(DittoPeerToPeer.Builder.UpdateWifiAwareConfig) - Method in class com.ditto.java.transports.DittoPeerToPeer.Builder
-
Configures Wi-Fi Aware transport using a lambda.
- withConnect(DittoConfig.Connect) - Method in class com.ditto.java.DittoConfig
-
Creates a new
DittoConfigwith a different connection configuration.
All Classes and Interfaces|All Packages|Serialized Form