A C D E F G I L M N O P R S T V Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acquire(Duration) - Method in class com.yahoo.vespa.curator.Lock
-
Take the lock with the given timeout.
- add(long) - Method in class com.yahoo.vespa.curator.recipes.CuratorCounter
-
Atomically add and return resulting value.
- addCreate(String) - Method in class com.yahoo.vespa.curator.transaction.TransactionChanges
-
Adds creation of an absolute path to the set of changes made by this
- addDelete(String) - Method in class com.yahoo.vespa.curator.transaction.TransactionChanges
-
Adds deletion of an absolute path to the set of changes made by this
- addListener(NodeCacheListener) - Method in interface com.yahoo.vespa.curator.Curator.FileCache
- addListener(PathChildrenCacheListener) - Method in interface com.yahoo.vespa.curator.Curator.DirectoryCache
- and(CuratorTransaction) - Method in interface com.yahoo.vespa.curator.transaction.CuratorOperation
-
Returns the transaction resulting from combining this operation with the input transaction
- awaitCompletion(Duration) - Method in interface com.yahoo.vespa.curator.Curator.CompletionWaiter
-
Awaits completion of something.
C
- check(Curator) - Method in interface com.yahoo.vespa.curator.transaction.CuratorOperation
-
Check if this operation can be performed by calling check(curator, new TransactionChanges()).
- check(Curator, TransactionChanges) - Method in interface com.yahoo.vespa.curator.transaction.CuratorOperation
-
Check if this operation can be performed.
- close() - Method in class com.yahoo.vespa.curator.Curator
- close() - Method in interface com.yahoo.vespa.curator.Curator.DirectoryCache
- close() - Method in interface com.yahoo.vespa.curator.Curator.FileCache
- close() - Method in class com.yahoo.vespa.curator.Lock
- com.yahoo.vespa.curator - package com.yahoo.vespa.curator
- com.yahoo.vespa.curator.mock - package com.yahoo.vespa.curator.mock
- com.yahoo.vespa.curator.recipes - package com.yahoo.vespa.curator.recipes
- com.yahoo.vespa.curator.transaction - package com.yahoo.vespa.curator.transaction
- commit() - Method in class com.yahoo.vespa.curator.transaction.CuratorTransaction
-
Commits this transaction.
- CompletionTimeoutException - Exception in com.yahoo.vespa.curator
- CompletionTimeoutException(String) - Constructor for exception com.yahoo.vespa.curator.CompletionTimeoutException
- connectionSpec() - Method in class com.yahoo.vespa.curator.Curator
-
Returns the ZooKeeper "connect string" used by curator: a comma-separated list of host:port of ZooKeeper endpoints to connect to.
- counter(String) - Method in class com.yahoo.vespa.curator.mock.MockCurator
-
Returns an atomic counter in this, or empty if no such counter is created
- create(Path) - Method in class com.yahoo.vespa.curator.Curator
-
Creates an empty node at a path, creating any parents as necessary.
- create(String) - Static method in class com.yahoo.vespa.curator.Curator
-
Creates a curator instance from a comma-separated string of ZooKeeper host:port strings
- create(String) - Static method in class com.yahoo.vespa.curator.transaction.CuratorOperations
-
Creates this path with no data.
- create(String) - Method in class com.yahoo.vespa.curator.transaction.TransactionChanges
-
Returns whether the changes include creating this absolute path
- create(String, byte[]) - Static method in class com.yahoo.vespa.curator.transaction.CuratorOperations
-
Creates this path with data.
- create(String, Optional<File>) - Static method in class com.yahoo.vespa.curator.Curator
- createAtomically(Path...) - Method in class com.yahoo.vespa.curator.Curator
-
Creates all the given paths in a single transaction.
- createAtomicCounter(String) - Method in class com.yahoo.vespa.curator.Curator
-
For internal use; prefer creating a
CuratorCounter
- createAtomicCounter(String) - Method in class com.yahoo.vespa.curator.mock.MockCurator
- createCompletionWaiter(Path, String, int, String) - Method in class com.yahoo.vespa.curator.Curator
- createCompletionWaiter(Path, String, int, String) - Method in class com.yahoo.vespa.curator.mock.MockCurator
- createDirectoryCache(String, boolean, boolean, ExecutorService) - Method in class com.yahoo.vespa.curator.Curator
-
Creates a listenable cache which keeps in sync with changes to all the immediate children of a path
- createDirectoryCache(String, boolean, boolean, ExecutorService) - Method in class com.yahoo.vespa.curator.mock.MockCurator
- createFileCache(String, boolean) - Method in class com.yahoo.vespa.curator.Curator
-
Creates a listenable cache which keeps in sync with changes to a given node
- createFileCache(String, boolean) - Method in class com.yahoo.vespa.curator.mock.MockCurator
- createMutex(String) - Method in class com.yahoo.vespa.curator.Curator
-
For internal use; prefer creating a
Lock
- createMutex(String) - Method in class com.yahoo.vespa.curator.mock.MockCurator
-
Create a mutex which ensures exclusive access within this single vm
- createsChildrenOf(String) - Method in class com.yahoo.vespa.curator.transaction.TransactionChanges
-
Returns whether the changes include creating any (proper) children of the given path
- Curator - Class in com.yahoo.vespa.curator
-
Curator interface for Vespa.
- Curator(ConfigserverConfig, VespaZooKeeperServer) - Constructor for class com.yahoo.vespa.curator.Curator
- Curator(String, String, Function<RetryPolicy, CuratorFramework>) - Constructor for class com.yahoo.vespa.curator.Curator
- Curator.CompletionWaiter - Interface in com.yahoo.vespa.curator
-
Interface for waiting for completion of an operation
- Curator.DirectoryCache - Interface in com.yahoo.vespa.curator
-
A listenable cache of all the immediate children of a curator path.
- Curator.FileCache - Interface in com.yahoo.vespa.curator
-
A listenable cache of the content of a single curator path.
- CuratorCounter - Class in com.yahoo.vespa.curator.recipes
-
A distributed atomic counter.
- CuratorCounter(Curator, String) - Constructor for class com.yahoo.vespa.curator.recipes.CuratorCounter
- CuratorLockException - Exception in com.yahoo.vespa.curator.recipes
- CuratorLockException(Exception) - Constructor for exception com.yahoo.vespa.curator.recipes.CuratorLockException
- CuratorLockException(String) - Constructor for exception com.yahoo.vespa.curator.recipes.CuratorLockException
- CuratorLockException(String, Exception) - Constructor for exception com.yahoo.vespa.curator.recipes.CuratorLockException
- CuratorOperation - Interface in com.yahoo.vespa.curator.transaction
-
The ZooKeeper operations that we support doing transactional.
- CuratorOperations - Class in com.yahoo.vespa.curator.transaction
-
Factory for transactional ZooKeeper operations.
- CuratorOperations() - Constructor for class com.yahoo.vespa.curator.transaction.CuratorOperations
- CuratorTransaction - Class in com.yahoo.vespa.curator.transaction
-
Transaction implementation against ZooKeeper.
- CuratorTransaction(Curator) - Constructor for class com.yahoo.vespa.curator.transaction.CuratorTransaction
D
- delete(Path) - Method in class com.yahoo.vespa.curator.Curator
-
Deletes the given path and any children it may have.
- delete(String) - Static method in class com.yahoo.vespa.curator.transaction.CuratorOperations
-
Deletes this path.
- delete(String) - Method in class com.yahoo.vespa.curator.transaction.TransactionChanges
-
Returns whether the changes include deleting this absolute path
- deleteAll(String, Curator) - Static method in class com.yahoo.vespa.curator.transaction.CuratorOperations
-
Returns operations deleting this path and everything below it, in an order where a parent is ordered after all its children, such that the operations will succeed when executed in the returned order.
- Dummy - Class in org.apache.curator
-
A dummy to make the attach-jars Maven profile work for this module (it needs to find a class to javadoc and attach source).
- Dummy() - Constructor for class org.apache.curator.Dummy
- dumpState() - Method in class com.yahoo.vespa.curator.mock.MockCurator
-
Lists the entire content of this curator instance as a multiline string.
E
- empty(Curator) - Static method in class com.yahoo.vespa.curator.transaction.CuratorTransaction
-
Returns an empty curator transaction
- exists(Path) - Method in class com.yahoo.vespa.curator.Curator
-
A convenience method which returns whether the given path exists
F
- framework() - Method in class com.yahoo.vespa.curator.Curator
-
Returns the curator framework API
- framework() - Method in class com.yahoo.vespa.curator.mock.MockCurator
-
Returns a started curator framework
- from(CuratorOperation, Curator) - Static method in class com.yahoo.vespa.curator.transaction.CuratorTransaction
-
Returns a curator transaction having a single operation
- from(List<CuratorOperation>, Curator) - Static method in class com.yahoo.vespa.curator.transaction.CuratorTransaction
-
Returns a curator transaction having a list of operations
G
- get() - Method in class com.yahoo.vespa.curator.recipes.CuratorCounter
- getChildren(Path) - Method in class com.yahoo.vespa.curator.Curator
-
Returns the names of the children at the given path.
- getCompletionWaiter(Path, int, String) - Method in class com.yahoo.vespa.curator.Curator
- getCompletionWaiter(Path, int, String) - Method in class com.yahoo.vespa.curator.mock.MockCurator
- getCurrentData() - Method in interface com.yahoo.vespa.curator.Curator.DirectoryCache
- getCurrentData() - Method in interface com.yahoo.vespa.curator.Curator.FileCache
- getCurrentData(Path) - Method in interface com.yahoo.vespa.curator.Curator.DirectoryCache
-
Returns the ChildData, or null if it does not exist.
- getData(Path) - Method in class com.yahoo.vespa.curator.Curator
-
Returns the data at the given path, which may be a zero-length buffer if the node exists but have no data.
- getStat(Path) - Method in class com.yahoo.vespa.curator.Curator
-
Returns the stat data at the given path.
I
- initialize(long) - Method in class com.yahoo.vespa.curator.recipes.CuratorCounter
L
- lock(Path, Duration) - Method in class com.yahoo.vespa.curator.Curator
-
Create and acquire a re-entrant lock in given path
- Lock - Class in com.yahoo.vespa.curator
-
A cluster-wide re-entrant mutex which is released on (the last symmetric) close.
- Lock(String, Curator) - Constructor for class com.yahoo.vespa.curator.Lock
M
- MockCurator - Class in com.yahoo.vespa.curator.mock
-
A non thread safe mock of the curator API.
- MockCurator() - Constructor for class com.yahoo.vespa.curator.mock.MockCurator
-
Creates a mock curator with stable ordering
- MockCurator(boolean) - Constructor for class com.yahoo.vespa.curator.mock.MockCurator
-
Creates a mock curator
N
- next() - Method in class com.yahoo.vespa.curator.recipes.CuratorCounter
-
Convenience method for
CuratorCounter.add(long)
with 1 - notifyCompletion() - Method in interface com.yahoo.vespa.curator.Curator.CompletionWaiter
-
Notify completion of something.
O
- org.apache.curator - package org.apache.curator
- org.apache.curator.framework - package org.apache.curator.framework
- org.apache.curator.framework.api - package org.apache.curator.framework.api
- org.apache.curator.framework.api.transaction - package org.apache.curator.framework.api.transaction
- org.apache.curator.framework.listen - package org.apache.curator.framework.listen
- org.apache.curator.framework.recipes.atomic - package org.apache.curator.framework.recipes.atomic
- org.apache.curator.framework.recipes.barriers - package org.apache.curator.framework.recipes.barriers
- org.apache.curator.framework.recipes.cache - package org.apache.curator.framework.recipes.cache
- org.apache.curator.framework.recipes.locks - package org.apache.curator.framework.recipes.locks
- org.apache.curator.framework.state - package org.apache.curator.framework.state
- org.apache.curator.retry - package org.apache.curator.retry
- org.apache.zookeeper - package org.apache.zookeeper
- org.apache.zookeeper.data - package org.apache.zookeeper.data
P
- prepare() - Method in class com.yahoo.vespa.curator.transaction.CuratorTransaction
- previous() - Method in class com.yahoo.vespa.curator.recipes.CuratorCounter
-
Convenience method for
CuratorCounter.add(long)
with -1
R
- retryPolicy - Variable in class com.yahoo.vespa.curator.Curator
S
- set(long) - Method in class com.yahoo.vespa.curator.recipes.CuratorCounter
- set(Path, byte[]) - Method in class com.yahoo.vespa.curator.Curator
-
A convenience method which sets some content at a path.
- setData(String, byte[]) - Static method in class com.yahoo.vespa.curator.transaction.CuratorOperations
-
Sets data at this path.
- setZooKeeperEnsembleConnectionSpec(String) - Method in class com.yahoo.vespa.curator.mock.MockCurator
-
Sets the ZooKeeper ensemble connection spec, which must be on the form host1:port,host2:port ...
- start() - Method in interface com.yahoo.vespa.curator.Curator.DirectoryCache
- start() - Method in interface com.yahoo.vespa.curator.Curator.FileCache
T
- throwExceptionOnLock - Variable in class com.yahoo.vespa.curator.mock.MockCurator
- timeoutBarrierOnEnter(boolean) - Method in class com.yahoo.vespa.curator.mock.MockCurator
- timeoutOnLock - Variable in class com.yahoo.vespa.curator.mock.MockCurator
- toString() - Method in class com.yahoo.vespa.curator.recipes.CuratorCounter
- toString() - Method in class com.yahoo.vespa.curator.transaction.CuratorTransaction
- toString() - Method in class com.yahoo.vespa.curator.transaction.TransactionChanges
- TransactionChanges - Class in com.yahoo.vespa.curator.transaction
-
Records the set of changes which will happen as part of a transaction
- TransactionChanges() - Constructor for class com.yahoo.vespa.curator.transaction.TransactionChanges
V
- validatePath(String) - Static method in class com.yahoo.vespa.curator.mock.MockCurator
-
Validates a path using the same rules as ZooKeeper
Z
- zooKeeperEnsembleConnectionSpec() - Method in class com.yahoo.vespa.curator.Curator
- zooKeeperEnsembleConnectionSpec() - Method in class com.yahoo.vespa.curator.mock.MockCurator
- zooKeeperEnsembleCount() - Method in class com.yahoo.vespa.curator.Curator
-
Returns the number of zooKeeper servers in this ensemble.
- zooKeeperEnsembleCount() - Method in class com.yahoo.vespa.curator.mock.MockCurator
All Classes All Packages