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 TypeMethodDescriptionvoidAutosyncProcessor.add(JObjectKey name) Adds an object to the queue to be downloaded.voidAutosyncTxHook.onChange(JObjectKey key, JData old, JData cur) voidAutosyncTxHook.onCreate(JObjectKey key, JData cur) voidAutosyncTxHook.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 thekeyrecord component.InvalidationQueueEntry.key()Returns the value of thekeyrecord 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 TypeMethodDescriptionvoidInvalidationQueueService.pushInvalidationToAll(JObjectKey key) Extract operations from an object for all peers and push them.voidInvalidationQueueService.pushInvalidationToOne(PeerId host, JObjectKey obj) Extract operations from an object for some specific peer and push them.voidInvalidationQueueService.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 aIndexUpdateOprecord class.InvalidationQueueEntry(PeerId peer, JObjectKey key) Creates an instance of aInvalidationQueueEntryrecord 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 thetreeNamerecord component.JKleppmannTreePeriodicPushOp.treeName()Returns the value of thetreeNamerecord 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 theoprecord 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.voidJKleppmannTreeInitialSyncProcessor.handleCrash(JObjectKey key) voidJKleppmannTreeManager.JKleppmannTree.move(JObjectKey newParent, JKleppmannTreeNodeMeta newMeta, JObjectKey node) Move a node to a new parent.voidJKleppmannTreeInitialSyncProcessor.prepareForInitialSync(PeerId from, JObjectKey key) voidJKleppmannTreeManager.JKleppmannTree.JKleppmannTreeStorageInterface.removeNode(JObjectKey id) voidJKleppmannTreeManager.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.voidJKleppmannTreeManager.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 aJKleppmannTreeOpWrapperrecord class.JKleppmannTreePeriodicPushOp(JObjectKey treeName, PeerId from, long timestamp) Creates an instance of aJKleppmannTreePeriodicPushOprecord 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 aJKleppmannTreeOpWrapperrecord 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 thekeyrecord component.JKleppmannTreeNodeHolder.key()JKleppmannTreePersistentData.key()Returns the value of thekeyrecord component.JKleppmannTreeNode.parent()Returns the value of theparentrecord 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 thechildrenrecord component.JKleppmannTreeNode.collectRefsTo()JKleppmannTreeNodeHolder.collectRefsTo()JKleppmannTreeNodeMeta.collectRefsTo()JKleppmannTreePersistentData.collectRefsTo()JKleppmannTreeNode.lastEffectiveOp()Returns the value of thelastEffectiveOprecord component.org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, LogRecord<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>> JKleppmannTreePersistentData.log()Returns the value of thelogrecord component.org.pcollections.PMap<PeerId, org.pcollections.PSortedMap<CombinedTimestamp<Long, PeerId>, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey>>> JKleppmannTreePersistentData.queues()Returns the value of thequeuesrecord 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 aJKleppmannTreeNoderecord 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 aJKleppmannTreePersistentDatarecord 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 aJKleppmannTreeNoderecord class.JKleppmannTreeNode(JObjectKey key, JObjectKey parent, OpMove<Long, PeerId, JKleppmannTreeNodeMeta, JObjectKey> lastEffectiveOp, JKleppmannTreeNodeMeta meta, org.pcollections.PMap<String, JObjectKey> children) Creates an instance of aJKleppmannTreeNoderecord 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 aJKleppmannTreePersistentDatarecord 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 aJKleppmannTreePersistentDatarecord 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 theholderrecord component.JMapRef.holder()Returns the value of theholderrecord component.JMapEntry.key()Returns the value of thekeyrecord component.JMapRef.obj()JMapEntry.ref()Returns the value of therefrecord component.Methods in com.usatiuk.dhfs.jmap with parameters of type JObjectKeyModifier and TypeMethodDescriptionJMapIterator.keyToKey(JObjectKey key) voidJMapRefcounterTxHook.onChange(JObjectKey key, JData old, JData cur) voidJMapRefcounterTxHook.onCreate(JObjectKey key, JData cur) voidJMapHolderRefcounterTxHook.onDelete(JObjectKey key, JData cur) voidJMapRefcounterTxHook.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 aJMapEntryrecord class.JMapEntry(JObjectKey holder, K selfKey, JObjectKey ref) JMapRef(JObjectKey holder, JMapKey mapKey) Creates an instance of aJMapRefrecord 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 JObjectKeyPersistentRemoteHostsData.KEYstatic final JObjectKeyPeerInfoService.TREE_KEYMethods in com.usatiuk.dhfs.peersync that return JObjectKeyModifier and TypeMethodDescriptionPeerId.id()Returns the value of theidrecord component.PeerInfo.key()Returns the value of thekeyrecord component.PersistentRemoteHostsData.key()PeerId.toJObjectKey()Methods in com.usatiuk.dhfs.peersync with parameters of type JObjectKeyModifier and TypeMethodDescriptionvoidInitialSyncProcessor.handleCrash(JObjectKey key) Called when the system had crashed (and the object needs to probably be re-synced).voidPeerInfoSyncHandler.handleRemoteUpdate(PeerId from, JObjectKey key, org.pcollections.PMap<PeerId, Long> receivedChangelog, PeerInfo receivedData) voidInitialSyncProcessor.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 aPeerIdrecord class.PeerInfo(JObjectKey key, PeerId id, com.google.protobuf.ByteString cert, org.pcollections.PMap<PeerId, Long> kickCounter, long lastSeenTimestamp) Creates an instance of aPeerInforecord 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 thepeerIdrecord component.static JObjectKeyJKleppmannTreeNodeMetaPeer.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 PeerIdJKleppmannTreeNodeMetaPeer.nodeIdToPeerId(JObjectKey id) Constructors in com.usatiuk.dhfs.peersync.structs with parameters of type JObjectKeyModifierConstructorDescriptionJKleppmannTreeNodeMetaPeer(String name, JObjectKey peerId) Creates an instance of aJKleppmannTreeNodeMetaPeerrecord class. -
Uses of JObjectKey in com.usatiuk.dhfs.peertrust
Methods in com.usatiuk.dhfs.peertrust with parameters of type JObjectKeyModifier and TypeMethodDescriptionvoidPeerInfoCertUpdateTxHook.onChange(JObjectKey key, JData old, JData cur) voidPeerInfoCertUpdateTxHook.onCreate(JObjectKey key, JData cur) voidPeerInfoCertUpdateTxHook.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 theobjrecord 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 TypeMethodDescriptionvoidDeleterTxHook.onChange(JObjectKey key, JData old, JData cur) voidRefcounterTxHook.onChange(JObjectKey key, JData old, JData cur) voidDeleterTxHook.onCreate(JObjectKey key, JData cur) voidRefcounterTxHook.onCreate(JObjectKey key, JData cur) voidDeleterTxHook.onDelete(JObjectKey key, JData cur) voidRefcounterTxHook.onDelete(JObjectKey key, JData cur) Constructors in com.usatiuk.dhfs.refcount with parameters of type JObjectKeyModifierConstructorDescriptionJDataNormalRef(JObjectKey obj) Creates an instance of aJDataNormalRefrecord 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 thekeyrecord component.RemoteObjectMeta.key()Returns the value of thekeyrecord component.static JObjectKeyRemoteObjectMeta.ofDataKey(JObjectKey key) static JObjectKeyRemoteObjectMeta.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.voidRemoteObjectInitialSyncProcessor.handleCrash(JObjectKey key) <T extends JDataRemote>
voidDefaultObjSyncHandler.handleRemoteUpdate(PeerId from, JObjectKey key, org.pcollections.PMap<PeerId, Long> receivedChangelog, JDataRemote receivedData) voidObjSyncHandler.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 JObjectKeyRemoteObjectMeta.ofDataKey(JObjectKey key) static JObjectKeyRemoteObjectMeta.ofMetaKey(JObjectKey key) voidRemoteObjPusherTxHook.onChange(JObjectKey key, JData old, JData cur) voidRemoteObjPusherTxHook.onCreate(JObjectKey key, JData cur) voidRemoteObjPusherTxHook.onDelete(JObjectKey key, JData cur) voidRemoteObjectInitialSyncProcessor.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 aRemoteObjectDataWrapperrecord 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 aRemoteObjectMetarecord 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.voidRemoteObjectServiceClient.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 thefileInorecord component.ChunkData.key()Returns the value of thekeyrecord component.File.key()Returns the value of thekeyrecord 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 thechunksrecord 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 TypeMethodDescriptionvoidFileSyncHandler.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 TypeMethodDescriptionvoidFileHelper.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 aChunkDatarecord class.File(JObjectKey key, long mode, long cTime, long mTime, boolean symlink) Creates an instance of aFilerecord class.JKleppmannTreeNodeMetaFile(String name, JObjectKey fileIno) Creates an instance of aJKleppmannTreeNodeMetaFilerecord 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 aFileDtorecord 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 TypeMethodDescriptionbooleanDhfsFileService.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.ByteStringDhfsFileService.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.ByteStringDhfsFileService.readlinkBS(JObjectKey uuid) Read the contents of a symlink as a ByteString.booleanDhfsFileService.setTimes(JObjectKey fileUuid, long mtimeMs) Set the access and modification times of a file.longDhfsFileService.size(JObjectKey fileUuid) Get the size of a file.booleanDhfsFileService.truncate(JObjectKey fileUuid, long length) Truncate a file to the given length.longDhfsFileService.write(JObjectKey fileUuid, long offset, byte[] data) Write data to a file.longDhfsFileService.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 classA "real" implementation of JObjectKey, containing an underlying string, and a cached lazily created byte buffer.final recordJObjectKey implementation that compares greater than all other keys.final recordJObjectKey implementation that compares less than all other keys.Methods in com.usatiuk.objects that return JObjectKeyModifier and TypeMethodDescriptionstatic JObjectKeyJObjectKey.first()Returns a JObjectKey that compares less than all other keys.static JObjectKeyJObjectKey.fromByteBuffer(ByteBuffer buff) Creates a new JObjectKey from a ByteBuffer.static JObjectKeyJObjectKey.fromBytes(byte[] bytes) Creates a new JObjectKey from a byte array.JData.key()Returns the key of the object.static JObjectKeyJObjectKey.last()Returns a JObjectKey that compares greater than all other keys.static JObjectKeyCreates a new JObjectKey from a string value.static JObjectKeyJObjectKey.random()Creates a new JObjectKey with a random UUID.Methods in com.usatiuk.objects with parameters of type JObjectKeyModifier and TypeMethodDescriptionintJObjectKey.compareTo(JObjectKey o) intJObjectKeyImpl.compareTo(JObjectKey o) intJObjectKeyMax.compareTo(JObjectKey o) intJObjectKeyMin.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 thekeyrecord component.Methods in com.usatiuk.objects.stores that return types with arguments of type JObjectKeyModifier and TypeMethodDescriptionTxManifestObj.deleted()Returns the value of thedeletedrecord component.TxManifestRaw.deleted()Returns the value of thedeletedrecord 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 thewrittenrecord component.Collection<org.apache.commons.lang3.tuple.Pair<JObjectKey, com.google.protobuf.ByteString>> TxManifestRaw.written()Returns the value of thewrittenrecord component.Constructors in com.usatiuk.objects.stores with parameters of type JObjectKeyModifierConstructorDescriptionPendingDelete(JObjectKey key, long bundleId) Creates an instance of aPendingDeleterecord 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 aTxManifestObjrecord class.TxManifestRaw(Collection<org.apache.commons.lang3.tuple.Pair<JObjectKey, com.google.protobuf.ByteString>> written, Collection<JObjectKey> deleted) Creates an instance of aTxManifestRawrecord 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 thekeyrecord 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 TypeMethodDescriptionvoidCurrentTransaction.delete(JObjectKey key) voidTransaction.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 voidPreCommitTxHook.onChange(JObjectKey key, JData old, JData cur) default voidPreCommitTxHook.onCreate(JObjectKey key, JData cur) default voidPreCommitTxHook.onDelete(JObjectKey key, JData cur) Constructors in com.usatiuk.objects.transaction with parameters of type JObjectKeyModifierConstructorDescriptionCreates an instance of aTxObjectRecordDeletedrecord class.