Uses of Interface
com.usatiuk.objects.JObjectKey
Packages that use JObjectKey
Package
Description
-
Uses of JObjectKey in com.usatiuk.dhfs
Methods in com.usatiuk.dhfs that return JObjectKeyMethods in com.usatiuk.dhfs with parameters of type JObjectKey -
Uses of JObjectKey in com.usatiuk.dhfs.autosync
Methods in com.usatiuk.dhfs.autosync with parameters of type JObjectKeyModifier and TypeMethodDescriptionvoid
AutosyncProcessor.add
(JObjectKey name) Adds an object to the queue to be downloaded.void
AutosyncTxHook.onChange
(JObjectKey key, JData old, JData cur) void
AutosyncTxHook.onCreate
(JObjectKey key, JData cur) void
AutosyncTxHook.onDelete
(JObjectKey key, JData cur) -
Uses of JObjectKey in com.usatiuk.dhfs.invalidation
Methods in com.usatiuk.dhfs.invalidation that return JObjectKeyModifier and TypeMethodDescriptionIndexUpdateOp.key()
Returns the value of thekey
record component.InvalidationQueueEntry.key()
Returns the value of thekey
record component.Methods in com.usatiuk.dhfs.invalidation that return types with arguments of type JObjectKeyModifier and TypeMethodDescriptionIndexUpdateOp.getEscapedRefs()
Op.getEscapedRefs()
Returns the keys of the objects that are referenced in this op.Methods in com.usatiuk.dhfs.invalidation with parameters of type JObjectKeyModifier and TypeMethodDescriptionvoid
InvalidationQueueService.pushInvalidationToAll
(JObjectKey key) Extract operations from an object for all peers and push them.void
InvalidationQueueService.pushInvalidationToOne
(PeerId host, JObjectKey obj) Extract operations from an object for some specific peer and push them.void
InvalidationQueueService.pushInvalidationToOneNoDelay
(PeerId host, JObjectKey obj) Extract operations from an object for some specific peer and push them, without delay.Constructors in com.usatiuk.dhfs.invalidation with parameters of type JObjectKeyModifierConstructorDescriptionIndexUpdateOp
(JObjectKey key, org.pcollections.PMap<PeerId, Long> changelog, JDataRemoteDto data) Creates an instance of aIndexUpdateOp
record class.InvalidationQueueEntry
(PeerId peer, JObjectKey key) Creates an instance of aInvalidationQueueEntry
record class. -
Uses of JObjectKey in com.usatiuk.dhfs.jkleppmanntree
Methods in com.usatiuk.dhfs.jkleppmanntree that return JObjectKeyModifier and TypeMethodDescriptionJKleppmannTreeManager.JKleppmannTree.JKleppmannTreeStorageInterface.getLostFoundId()
JKleppmannTreeManager.JKleppmannTree.getNewNodeId()
Get a new node id.JKleppmannTreeManager.JKleppmannTree.JKleppmannTreeStorageInterface.getNewNodeId()
JKleppmannTreeManager.JKleppmannTree.JKleppmannTreeStorageInterface.getRootId()
JKleppmannTreeManager.JKleppmannTree.JKleppmannTreeStorageInterface.getTrashId()
Traverse the tree from root to find a node with the given name.JKleppmannTreeOpWrapper.treeName()
Returns the value of thetreeName
record component.JKleppmannTreePeriodicPushOp.treeName()
Returns the value of thetreeName
record component.Methods in com.usatiuk.dhfs.jkleppmanntree that return types with arguments of type JObjectKeyModifier and TypeMethodDescriptionorg.apache.commons.lang3.tuple.Pair
<String, JObjectKey> JKleppmannTreeManager.JKleppmannTree.findParent
(Function<TreeNode<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>, Boolean> predicate) Get the parent of a node that matches the given predicate.JKleppmannTreeOpWrapper.getEscapedRefs()
JKleppmannTreePeriodicPushOp.getEscapedRefs()
JKleppmannTreeManager.JKleppmannTree.JKleppmannTreeStorageInterface.getLog()
JKleppmannTreeOpWrapper.op()
Returns the value of theop
record component.Methods in com.usatiuk.dhfs.jkleppmanntree with parameters of type JObjectKeyModifier and TypeMethodDescriptionJKleppmannTreeManager.JKleppmannTree.JKleppmannTreeStorageInterface.createNewNode
(JObjectKey key, JObjectKey parent, JKleppmannTreeNodeMeta meta) JKleppmannTreeManager.JKleppmannTree.JKleppmannTreeStorageInterface.getById
(JObjectKey id) JKleppmannTreeManager.getTree
(JObjectKey name) Get a tree with the given name.JKleppmannTreeManager.getTree
(JObjectKey name, Supplier<JKleppmannTreeNodeMeta> rootNodeSupplier) Get or create a tree with the given name.void
JKleppmannTreeInitialSyncProcessor.handleCrash
(JObjectKey key) void
JKleppmannTreeManager.JKleppmannTree.move
(JObjectKey newParent, JKleppmannTreeNodeMeta newMeta, JObjectKey node) Move a node to a new parent.void
JKleppmannTreeInitialSyncProcessor.prepareForInitialSync
(PeerId from, JObjectKey key) void
JKleppmannTreeManager.JKleppmannTree.JKleppmannTreeStorageInterface.removeNode
(JObjectKey id) void
JKleppmannTreeManager.JKleppmannTree.trash
(JKleppmannTreeNodeMeta newMeta, JObjectKey nodeKey) Move a node to the trash.Method parameters in com.usatiuk.dhfs.jkleppmanntree with type arguments of type JObjectKeyModifier and TypeMethodDescriptionorg.apache.commons.lang3.tuple.Pair
<String, JObjectKey> JKleppmannTreeManager.JKleppmannTree.findParent
(Function<TreeNode<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>, Boolean> predicate) Get the parent of a node that matches the given predicate.void
JKleppmannTreeManager.JKleppmannTree.JKleppmannTreeStorageInterface.putNode
(TreeNode<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey> node) Constructors in com.usatiuk.dhfs.jkleppmanntree with parameters of type JObjectKeyModifierConstructorDescriptionJKleppmannTreeOpWrapper
(JObjectKey treeName, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey> op) Creates an instance of aJKleppmannTreeOpWrapper
record class.JKleppmannTreePeriodicPushOp
(JObjectKey treeName, PeerId from, long timestamp) Creates an instance of aJKleppmannTreePeriodicPushOp
record class.Constructor parameters in com.usatiuk.dhfs.jkleppmanntree with type arguments of type JObjectKeyModifierConstructorDescriptionJKleppmannTreeOpWrapper
(JObjectKey treeName, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey> op) Creates an instance of aJKleppmannTreeOpWrapper
record class. -
Uses of JObjectKey in com.usatiuk.dhfs.jkleppmanntree.structs
Methods in com.usatiuk.dhfs.jkleppmanntree.structs that return JObjectKeyModifier and TypeMethodDescriptionJKleppmannTreeNode.key()
Returns the value of thekey
record component.JKleppmannTreeNodeHolder.key()
JKleppmannTreePersistentData.key()
Returns the value of thekey
record component.JKleppmannTreeNode.parent()
Returns the value of theparent
record component.Methods in com.usatiuk.dhfs.jkleppmanntree.structs that return types with arguments of type JObjectKeyModifier and TypeMethodDescriptionorg.pcollections.PMap
<String, JObjectKey> JKleppmannTreeNode.children()
Returns the value of thechildren
record component.JKleppmannTreeNode.collectRefsTo()
JKleppmannTreeNodeHolder.collectRefsTo()
JKleppmannTreeNodeMeta.collectRefsTo()
JKleppmannTreePersistentData.collectRefsTo()
JKleppmannTreeNode.lastEffectiveOp()
Returns the value of thelastEffectiveOp
record component.org.pcollections.PSortedMap
<CombinedTimestamp<Long, PeerId>, LogRecord<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>> JKleppmannTreePersistentData.log()
Returns the value of thelog
record component.org.pcollections.PMap
<PeerId, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>>> JKleppmannTreePersistentData.queues()
Returns the value of thequeues
record component.Methods in com.usatiuk.dhfs.jkleppmanntree.structs with parameters of type JObjectKeyMethod parameters in com.usatiuk.dhfs.jkleppmanntree.structs with type arguments of type JObjectKeyModifier and TypeMethodDescriptionJKleppmannTreeNode.withChildren
(org.pcollections.PMap<String, JObjectKey> children) JKleppmannTreeNode.withLastEffectiveOp
(OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey> lastEffectiveOp) JKleppmannTreePersistentData.withLog
(org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, LogRecord<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>> log) JKleppmannTreePersistentData.withQueues
(org.pcollections.PMap<PeerId, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>>> queues) Constructors in com.usatiuk.dhfs.jkleppmanntree.structs with parameters of type JObjectKeyModifierConstructorDescriptionJKleppmannTreeNode
(JObjectKey id, JObjectKey parent, JKleppmannTreeNodeMeta meta) JKleppmannTreeNode
(JObjectKey key, JObjectKey parent, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey> lastEffectiveOp, JKleppmannTreeNodeMeta meta, org.pcollections.PMap<String, JObjectKey> children) Creates an instance of aJKleppmannTreeNode
record class.JKleppmannTreePersistentData
(JObjectKey key, org.pcollections.PCollection<JDataRef> refsFrom, boolean frozen, long clock, org.pcollections.PMap<PeerId, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>>> queues, org.pcollections.PMap<PeerId, Long> peerTimestampLog, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, LogRecord<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>> log) Creates an instance of aJKleppmannTreePersistentData
record class.Constructor parameters in com.usatiuk.dhfs.jkleppmanntree.structs with type arguments of type JObjectKeyModifierConstructorDescriptionJKleppmannTreeNode
(JObjectKey key, JObjectKey parent, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey> lastEffectiveOp, JKleppmannTreeNodeMeta meta, org.pcollections.PMap<String, JObjectKey> children) Creates an instance of aJKleppmannTreeNode
record class.JKleppmannTreeNode
(JObjectKey key, JObjectKey parent, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey> lastEffectiveOp, JKleppmannTreeNodeMeta meta, org.pcollections.PMap<String, JObjectKey> children) Creates an instance of aJKleppmannTreeNode
record class.JKleppmannTreePersistentData
(JObjectKey key, org.pcollections.PCollection<JDataRef> refsFrom, boolean frozen, long clock, org.pcollections.PMap<PeerId, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>>> queues, org.pcollections.PMap<PeerId, Long> peerTimestampLog, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, LogRecord<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>> log) Creates an instance of aJKleppmannTreePersistentData
record class.JKleppmannTreePersistentData
(JObjectKey key, org.pcollections.PCollection<JDataRef> refsFrom, boolean frozen, long clock, org.pcollections.PMap<PeerId, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>>> queues, org.pcollections.PMap<PeerId, Long> peerTimestampLog, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, LogRecord<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>> log) Creates an instance of aJKleppmannTreePersistentData
record class. -
Uses of JObjectKey in com.usatiuk.dhfs.jmap
Methods in com.usatiuk.dhfs.jmap that return JObjectKeyModifier and TypeMethodDescriptionJMapEntry.holder()
Returns the value of theholder
record component.JMapRef.holder()
Returns the value of theholder
record component.JMapEntry.key()
Returns the value of thekey
record component.JMapRef.obj()
JMapEntry.ref()
Returns the value of theref
record component.Methods in com.usatiuk.dhfs.jmap with parameters of type JObjectKeyModifier and TypeMethodDescriptionJMapIterator.keyToKey
(JObjectKey key) void
JMapRefcounterTxHook.onChange
(JObjectKey key, JData old, JData cur) void
JMapRefcounterTxHook.onCreate
(JObjectKey key, JData cur) void
JMapHolderRefcounterTxHook.onDelete
(JObjectKey key, JData cur) void
JMapRefcounterTxHook.onDelete
(JObjectKey key, JData cur) <K extends JMapKey>
voidJMapHelper.put
(JMapHolder<K> holder, K key, JObjectKey ref) Put a new entry into the map of a given holder.Constructors in com.usatiuk.dhfs.jmap with parameters of type JObjectKeyModifierConstructorDescriptionJMapEntry
(JObjectKey key, JObjectKey holder, K selfKey, JObjectKey ref) Creates an instance of aJMapEntry
record class.JMapEntry
(JObjectKey holder, K selfKey, JObjectKey ref) JMapRef
(JObjectKey holder, JMapKey mapKey) Creates an instance of aJMapRef
record class.Constructor parameters in com.usatiuk.dhfs.jmap with type arguments of type JObjectKeyModifierConstructorDescriptionJMapIterator
(CloseableKvIterator<JObjectKey, JData> backing, JMapHolder<K> holder) -
Uses of JObjectKey in com.usatiuk.dhfs.peersync
Fields in com.usatiuk.dhfs.peersync declared as JObjectKeyModifier and TypeFieldDescriptionstatic final JObjectKey
PersistentRemoteHostsData.KEY
static final JObjectKey
PeerInfoService.TREE_KEY
Methods in com.usatiuk.dhfs.peersync that return JObjectKeyModifier and TypeMethodDescriptionPeerId.id()
Returns the value of theid
record component.PeerInfo.key()
Returns the value of thekey
record component.PersistentRemoteHostsData.key()
PeerId.toJObjectKey()
Methods in com.usatiuk.dhfs.peersync with parameters of type JObjectKeyModifier and TypeMethodDescriptionvoid
InitialSyncProcessor.handleCrash
(JObjectKey key) Called when the system had crashed (and the object needs to probably be re-synced).void
PeerInfoSyncHandler.handleRemoteUpdate
(PeerId from, JObjectKey key, org.pcollections.PMap<PeerId, Long> receivedChangelog, PeerInfo receivedData) void
InitialSyncProcessor.prepareForInitialSync
(PeerId from, JObjectKey key) Called when the peer is connected for the first time (or needs to be re-synced).Constructors in com.usatiuk.dhfs.peersync with parameters of type JObjectKeyModifierConstructorDescriptionPeerId
(JObjectKey id) Creates an instance of aPeerId
record class.PeerInfo
(JObjectKey key, PeerId id, com.google.protobuf.ByteString cert, org.pcollections.PMap<PeerId, Long> kickCounter, long lastSeenTimestamp) Creates an instance of aPeerInfo
record class. -
Uses of JObjectKey in com.usatiuk.dhfs.peersync.structs
Methods in com.usatiuk.dhfs.peersync.structs that return JObjectKeyModifier and TypeMethodDescriptionJKleppmannTreeNodeMetaPeer.peerId()
Returns the value of thepeerId
record component.static JObjectKey
JKleppmannTreeNodeMetaPeer.peerIdToNodeId
(PeerId id) Methods in com.usatiuk.dhfs.peersync.structs that return types with arguments of type JObjectKeyMethods in com.usatiuk.dhfs.peersync.structs with parameters of type JObjectKeyModifier and TypeMethodDescriptionstatic PeerId
JKleppmannTreeNodeMetaPeer.nodeIdToPeerId
(JObjectKey id) Constructors in com.usatiuk.dhfs.peersync.structs with parameters of type JObjectKeyModifierConstructorDescriptionJKleppmannTreeNodeMetaPeer
(String name, JObjectKey peerId) Creates an instance of aJKleppmannTreeNodeMetaPeer
record class. -
Uses of JObjectKey in com.usatiuk.dhfs.peertrust
Methods in com.usatiuk.dhfs.peertrust with parameters of type JObjectKeyModifier and TypeMethodDescriptionvoid
PeerInfoCertUpdateTxHook.onChange
(JObjectKey key, JData old, JData cur) void
PeerInfoCertUpdateTxHook.onCreate
(JObjectKey key, JData cur) void
PeerInfoCertUpdateTxHook.onDelete
(JObjectKey key, JData cur) -
Uses of JObjectKey in com.usatiuk.dhfs.refcount
Methods in com.usatiuk.dhfs.refcount that return JObjectKeyModifier and TypeMethodDescriptionJDataNormalRef.obj()
Returns the value of theobj
record component.JDataRef.obj()
Methods in com.usatiuk.dhfs.refcount that return types with arguments of type JObjectKeyModifier and TypeMethodDescriptiondefault Collection
<JObjectKey> JDataRefcounted.collectRefsTo()
Collect outgoing references to other objects.Methods in com.usatiuk.dhfs.refcount with parameters of type JObjectKeyModifier and TypeMethodDescriptionvoid
DeleterTxHook.onChange
(JObjectKey key, JData old, JData cur) void
RefcounterTxHook.onChange
(JObjectKey key, JData old, JData cur) void
DeleterTxHook.onCreate
(JObjectKey key, JData cur) void
RefcounterTxHook.onCreate
(JObjectKey key, JData cur) void
DeleterTxHook.onDelete
(JObjectKey key, JData cur) void
RefcounterTxHook.onDelete
(JObjectKey key, JData cur) Constructors in com.usatiuk.dhfs.refcount with parameters of type JObjectKeyModifierConstructorDescriptionJDataNormalRef
(JObjectKey obj) Creates an instance of aJDataNormalRef
record class. -
Uses of JObjectKey in com.usatiuk.dhfs.remoteobj
Methods in com.usatiuk.dhfs.remoteobj that return JObjectKeyModifier and TypeMethodDescriptionRemoteObjectMeta.dataKey()
JDataRemote.key()
Returns the key of this remote object.RemoteObjectDataWrapper.key()
Returns the value of thekey
record component.RemoteObjectMeta.key()
Returns the value of thekey
record component.static JObjectKey
RemoteObjectMeta.ofDataKey
(JObjectKey key) static JObjectKey
RemoteObjectMeta.ofMetaKey
(JObjectKey key) Methods in com.usatiuk.dhfs.remoteobj that return types with arguments of type JObjectKeyModifier and TypeMethodDescriptiondefault Collection
<JObjectKey> JDataRemote.collectRefsTo()
Collect outgoing references to other objects.RemoteObjectDataWrapper.collectRefsTo()
RemoteObjectMeta.collectRefsTo()
Methods in com.usatiuk.dhfs.remoteobj with parameters of type JObjectKeyModifier and TypeMethodDescription<T extends JDataRemote>
Optional<T> RemoteTransaction.getData
(Class<T> type, JObjectKey key) Get the data of a remote object with the given key.<T extends JDataRemote>
Optional<T> RemoteTransaction.getDataLocal
(Class<T> type, JObjectKey key) Get the data of a remote object with the given key.RemoteTransaction.getMeta
(JObjectKey key) Get metadata for the object with the given key.void
RemoteObjectInitialSyncProcessor.handleCrash
(JObjectKey key) <T extends JDataRemote>
voidDefaultObjSyncHandler.handleRemoteUpdate
(PeerId from, JObjectKey key, org.pcollections.PMap<PeerId, Long> receivedChangelog, JDataRemote receivedData) void
ObjSyncHandler.handleRemoteUpdate
(PeerId from, JObjectKey key, org.pcollections.PMap<PeerId, Long> receivedChangelog, D receivedData) Handles a remote update of an object.<D extends JDataRemoteDto>
voidSyncHandler.handleRemoteUpdate
(PeerId from, JObjectKey key, org.pcollections.PMap<PeerId, Long> receivedChangelog, D receivedData) Handles remote update of an object.static JObjectKey
RemoteObjectMeta.ofDataKey
(JObjectKey key) static JObjectKey
RemoteObjectMeta.ofMetaKey
(JObjectKey key) void
RemoteObjPusherTxHook.onChange
(JObjectKey key, JData old, JData cur) void
RemoteObjPusherTxHook.onCreate
(JObjectKey key, JData cur) void
RemoteObjPusherTxHook.onDelete
(JObjectKey key, JData cur) void
RemoteObjectInitialSyncProcessor.prepareForInitialSync
(PeerId from, JObjectKey key) Constructors in com.usatiuk.dhfs.remoteobj with parameters of type JObjectKeyModifierConstructorDescriptionRemoteObjectDataWrapper
(JObjectKey key, org.pcollections.PCollection<JDataRef> refsFrom, boolean frozen, T data) Creates an instance of aRemoteObjectDataWrapper
record class.RemoteObjectMeta
(JObjectKey key, org.pcollections.PCollection<JDataRef> refsFrom, boolean frozen, org.pcollections.PMap<PeerId, Long> knownRemoteVersions, Class<? extends JDataRemote> knownType, org.pcollections.PSet<PeerId> confirmedDeletes, boolean seen, org.pcollections.PMap<PeerId, Long> changelog, boolean hasLocalData) Creates an instance of aRemoteObjectMeta
record class.RemoteObjectMeta
(JObjectKey key, org.pcollections.PMap<PeerId, Long> remoteChangelog) -
Uses of JObjectKey in com.usatiuk.dhfs.rpc
Methods in com.usatiuk.dhfs.rpc with parameters of type JObjectKeyModifier and TypeMethodDescriptionCollection
<org.apache.commons.lang3.tuple.Pair<PeerId, CanDeleteReply>> RemoteObjectServiceClient.canDelete
(Collection<PeerId> targets, JObjectKey objKey) Ask given peers if they can delete the object with the given key.void
RemoteObjectServiceClient.getObject
(JObjectKey key, Function<org.apache.commons.lang3.tuple.Pair<PeerId, ReceivedObject>, Boolean> onReceive) Download a specific object from some reachable peer.org.apache.commons.lang3.tuple.Pair
<PeerId, ReceivedObject> RemoteObjectServiceClient.getSpecificObject
(JObjectKey key, PeerId peerId) Download a specific object from a specific peer. -
Uses of JObjectKey in com.usatiuk.dhfsfs.objects
Methods in com.usatiuk.dhfsfs.objects that return JObjectKeyModifier and TypeMethodDescriptionJKleppmannTreeNodeMetaFile.fileIno()
Returns the value of thefileIno
record component.ChunkData.key()
Returns the value of thekey
record component.File.key()
Returns the value of thekey
record component.Methods in com.usatiuk.dhfsfs.objects that return types with arguments of type JObjectKeyModifier and TypeMethodDescriptionList
<org.apache.commons.lang3.tuple.Pair<Long, JObjectKey>> FileDto.chunks()
Returns the value of thechunks
record component.File.collectRefsTo()
JKleppmannTreeNodeMetaDirectory.collectRefsTo()
JKleppmannTreeNodeMetaFile.collectRefsTo()
List
<org.apache.commons.lang3.tuple.Pair<Long, JObjectKey>> Get the chunks of a file.Methods in com.usatiuk.dhfsfs.objects with parameters of type JObjectKeyModifier and TypeMethodDescriptionvoid
FileSyncHandler.handleRemoteUpdate
(PeerId from, JObjectKey key, org.pcollections.PMap<PeerId, Long> receivedChangelog, FileDto receivedData) Method parameters in com.usatiuk.dhfsfs.objects with type arguments of type JObjectKeyModifier and TypeMethodDescriptionvoid
FileHelper.replaceChunks
(File file, List<org.apache.commons.lang3.tuple.Pair<Long, JObjectKey>> chunks) Replace the chunks of a file.Constructors in com.usatiuk.dhfsfs.objects with parameters of type JObjectKeyModifierConstructorDescriptionChunkData
(JObjectKey key, com.google.protobuf.ByteString data) Creates an instance of aChunkData
record class.File
(JObjectKey key, long mode, long cTime, long mTime, boolean symlink) Creates an instance of aFile
record class.JKleppmannTreeNodeMetaFile
(String name, JObjectKey fileIno) Creates an instance of aJKleppmannTreeNodeMetaFile
record class.Constructor parameters in com.usatiuk.dhfsfs.objects with type arguments of type JObjectKeyModifierConstructorDescriptionFileDto
(File file, List<org.apache.commons.lang3.tuple.Pair<Long, JObjectKey>> chunks) Creates an instance of aFileDto
record class. -
Uses of JObjectKey in com.usatiuk.dhfsfs.service
Methods in com.usatiuk.dhfsfs.service that return JObjectKeyModifier and TypeMethodDescriptionCreate a symlink.Methods in com.usatiuk.dhfsfs.service that return types with arguments of type JObjectKeyModifier and TypeMethodDescriptionCreate a new file with the given name and mode.org.apache.commons.lang3.tuple.Pair
<String, JObjectKey> DhfsFileService.inoToParent
(JObjectKey ino) Get the parent directory of a file or directory.Try to resolve a path to a file or directory.Methods in com.usatiuk.dhfsfs.service with parameters of type JObjectKeyModifier and TypeMethodDescriptionboolean
DhfsFileService.chmod
(JObjectKey uuid, long mode) Change the mode of a file or directory.DhfsFileService.getattr
(JObjectKey uuid) Get the attributes of a file or directory.org.apache.commons.lang3.tuple.Pair
<String, JObjectKey> DhfsFileService.inoToParent
(JObjectKey ino) Get the parent directory of a file or directory.com.google.protobuf.ByteString
DhfsFileService.read
(JObjectKey fileUuid, long offset, int length) Read the contents of a file.DhfsFileService.readlink
(JObjectKey uuid) Read the contents of a symlink.com.google.protobuf.ByteString
DhfsFileService.readlinkBS
(JObjectKey uuid) Read the contents of a symlink as a ByteString.boolean
DhfsFileService.setTimes
(JObjectKey fileUuid, long mtimeMs) Set the access and modification times of a file.long
DhfsFileService.size
(JObjectKey fileUuid) Get the size of a file.boolean
DhfsFileService.truncate
(JObjectKey fileUuid, long length) Truncate a file to the given length.long
DhfsFileService.write
(JObjectKey fileUuid, long offset, byte[] data) Write data to a file.long
DhfsFileService.write
(JObjectKey fileUuid, long offset, com.google.protobuf.ByteString data) Write data to a file. -
Uses of JObjectKey in com.usatiuk.objects
Classes in com.usatiuk.objects that implement JObjectKeyModifier and TypeClassDescriptionfinal class
A "real" implementation of JObjectKey, containing an underlying string, and a cached lazily created byte buffer.final record
JObjectKey implementation that compares greater than all other keys.final record
JObjectKey implementation that compares less than all other keys.Methods in com.usatiuk.objects that return JObjectKeyModifier and TypeMethodDescriptionstatic JObjectKey
JObjectKey.first()
Returns a JObjectKey that compares less than all other keys.static JObjectKey
JObjectKey.fromByteBuffer
(ByteBuffer buff) Creates a new JObjectKey from a ByteBuffer.static JObjectKey
JObjectKey.fromBytes
(byte[] bytes) Creates a new JObjectKey from a byte array.JData.key()
Returns the key of the object.static JObjectKey
JObjectKey.last()
Returns a JObjectKey that compares greater than all other keys.static JObjectKey
Creates a new JObjectKey from a string value.static JObjectKey
JObjectKey.random()
Creates a new JObjectKey with a random UUID.Methods in com.usatiuk.objects with parameters of type JObjectKeyModifier and TypeMethodDescriptionint
JObjectKey.compareTo
(JObjectKey o) int
JObjectKeyImpl.compareTo
(JObjectKey o) int
JObjectKeyMax.compareTo
(JObjectKey o) int
JObjectKeyMin.compareTo
(JObjectKey o) -
Uses of JObjectKey in com.usatiuk.objects.stores
Methods in com.usatiuk.objects.stores that return JObjectKeyModifier and TypeMethodDescriptionPendingDelete.key()
Returns the value of thekey
record component.Methods in com.usatiuk.objects.stores that return types with arguments of type JObjectKeyModifier and TypeMethodDescriptionTxManifestObj.deleted()
Returns the value of thedeleted
record component.TxManifestRaw.deleted()
Returns the value of thedeleted
record component.CachingObjectPersistentStore.getSnapshot()
Get a snapshot of underlying store and the cache.LmdbObjectPersistentStore.getSnapshot()
Get a snapshot of the database.MemoryObjectPersistentStore.getSnapshot()
ObjectPersistentStore.getSnapshot()
Get a snapshot of the persistent store.SerializingObjectPersistentStore.getSnapshot()
Get a snapshot of the persistent store, with deserialized objects.WritebackObjectPersistentStore.getSnapshot()
Get a snapshot of the persistent store, including the pending writes.Collection
<org.apache.commons.lang3.tuple.Pair<JObjectKey, T>> TxManifestObj.written()
Returns the value of thewritten
record component.Collection
<org.apache.commons.lang3.tuple.Pair<JObjectKey, com.google.protobuf.ByteString>> TxManifestRaw.written()
Returns the value of thewritten
record component.Constructors in com.usatiuk.objects.stores with parameters of type JObjectKeyModifierConstructorDescriptionPendingDelete
(JObjectKey key, long bundleId) Creates an instance of aPendingDelete
record class.Constructor parameters in com.usatiuk.objects.stores with type arguments of type JObjectKeyModifierConstructorDescriptionTxManifestObj
(Collection<org.apache.commons.lang3.tuple.Pair<JObjectKey, T>> written, Collection<JObjectKey> deleted) Creates an instance of aTxManifestObj
record class.TxManifestRaw
(Collection<org.apache.commons.lang3.tuple.Pair<JObjectKey, com.google.protobuf.ByteString>> written, Collection<JObjectKey> deleted) Creates an instance of aTxManifestRaw
record class. -
Uses of JObjectKey in com.usatiuk.objects.transaction
Methods in com.usatiuk.objects.transaction that return JObjectKeyModifier and TypeMethodDescriptionTxRecord.TxObjectRecord.key()
TxRecord.TxObjectRecordDeleted.key()
Returns the value of thekey
record component.TxRecord.TxObjectRecordWrite.key()
Methods in com.usatiuk.objects.transaction that return types with arguments of type JObjectKeyModifier and TypeMethodDescriptionCurrentTransaction.getIterator
(IteratorStart start, JObjectKey key) Transaction.getIterator
(IteratorStart start, JObjectKey key) default CloseableKvIterator
<JObjectKey, JData> Transaction.getIterator
(JObjectKey key) Methods in com.usatiuk.objects.transaction with parameters of type JObjectKeyModifier and TypeMethodDescriptionvoid
CurrentTransaction.delete
(JObjectKey key) void
Transaction.delete
(JObjectKey key) CurrentTransaction.get
(Class<T> type, JObjectKey key) Transaction.get
(Class<T> type, JObjectKey key) CurrentTransaction.getIterator
(IteratorStart start, JObjectKey key) Transaction.getIterator
(IteratorStart start, JObjectKey key) default CloseableKvIterator
<JObjectKey, JData> Transaction.getIterator
(JObjectKey key) default void
PreCommitTxHook.onChange
(JObjectKey key, JData old, JData cur) default void
PreCommitTxHook.onCreate
(JObjectKey key, JData cur) default void
PreCommitTxHook.onDelete
(JObjectKey key, JData cur) Constructors in com.usatiuk.objects.transaction with parameters of type JObjectKeyModifierConstructorDescriptionCreates an instance of aTxObjectRecordDeleted
record class.