Skip navigation links
A B C D E F G I M N O P R S T U V 

A

addEntry(byte[]) - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
addEntryDelay(long, TimeUnit) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
asyncAddEntry(byte[], AsyncCallback.AddCallback, Object) - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
asyncAddEntry(byte[], int, int, AsyncCallback.AddCallback, Object) - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
asyncAddEntry(ByteBuf, AsyncCallback.AddCallback, Object) - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
asyncClose(AsyncCallback.CloseCallback, Object) - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
asyncCreateLedger(int, int, int, BookKeeper.DigestType, byte[], AsyncCallback.CreateCallback, Object, Map<String, byte[]>) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
asyncCreateLedger(int, int, BookKeeper.DigestType, byte[], AsyncCallback.CreateCallback, Object) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
asyncDeleteLedger(long, AsyncCallback.DeleteCallback, Object) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
asyncOpenLedger(long, BookKeeper.DigestType, byte[], AsyncCallback.OpenCallback, Object) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
asyncOpenLedgerNoRecovery(long, BookKeeper.DigestType, byte[], AsyncCallback.OpenCallback, Object) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
asyncReadEntries(long, long, AsyncCallback.ReadCallback, Object) - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 

B

BookKeeperTestClient - Class in org.apache.bookkeeper.client
Test BookKeeperClient which allows access to members we don't wish to expose in the public API.
BookKeeperTestClient(ClientConfiguration) - Constructor for class org.apache.bookkeeper.client.BookKeeperTestClient
 

C

close() - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
close() - Method in class org.apache.zookeeper.MockZooKeeper
 
close() - Method in class org.apache.zookeeper.MockZooKeeperSession
 
create(String, byte[], List<ACL>, CreateMode) - Method in class org.apache.zookeeper.MockZooKeeper
 
create(String, byte[], List<ACL>, CreateMode, AsyncCallback.StringCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
create(String, byte[], List<ACL>, CreateMode) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
create(String, byte[], List<ACL>, CreateMode, AsyncCallback.StringCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
createLedger(BookKeeper.DigestType, byte[]) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
createLedger(int, int, BookKeeper.DigestType, byte[]) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
createLedger(int, int, int, BookKeeper.DigestType, byte[]) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 

D

delete(String, int) - Method in class org.apache.zookeeper.MockZooKeeper
 
delete(String, int, AsyncCallback.VoidCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
delete(String, int) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
delete(String, int, AsyncCallback.VoidCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
deleteLedger(long) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 

E

exists(String, boolean) - Method in class org.apache.zookeeper.MockZooKeeper
 
exists(String, Watcher) - Method in class org.apache.zookeeper.MockZooKeeper
 
exists(String, boolean, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
exists(String, Watcher, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
exists(String, boolean) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
exists(String, Watcher) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
exists(String, boolean, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
exists(String, Watcher, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 

F

failAfter(int, int) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
failConditional(KeeperException.Code, BiPredicate<MockZooKeeper.Op, String>) - Method in class org.apache.zookeeper.MockZooKeeper
 
failConditional(KeeperException.Code, BiPredicate<MockZooKeeper.Op, String>) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
failNow(int) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 

G

getChildren(String, Watcher, AsyncCallback.ChildrenCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
getChildren(String, Watcher) - Method in class org.apache.zookeeper.MockZooKeeper
 
getChildren(String, boolean) - Method in class org.apache.zookeeper.MockZooKeeper
 
getChildren(String, boolean, AsyncCallback.Children2Callback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
getChildren(String, Watcher, AsyncCallback.ChildrenCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
getChildren(String, Watcher) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
getChildren(String, boolean) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
getChildren(String, boolean, AsyncCallback.Children2Callback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
getConf() - Method in class org.apache.bookkeeper.client.BookKeeperTestClient
 
getConf() - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
getData(String, Watcher, Stat) - Method in class org.apache.zookeeper.MockZooKeeper
 
getData(String, boolean, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
getData(String, Watcher, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
getData(String, Watcher, Stat) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
getData(String, boolean, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
getData(String, Watcher, AsyncCallback.DataCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
getId() - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
getLastAddConfirmed() - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
getLedgerMap() - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
getLedgers() - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
getLength() - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
getMetadataClientDriver() - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
getMockEnsemble() - Static method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
getSessionId() - Method in class org.apache.zookeeper.MockZooKeeper
 
getSessionId() - Method in class org.apache.zookeeper.MockZooKeeperSession
 
getSessionTimeout() - Method in class org.apache.zookeeper.MockZooKeeper
 
getSessionTimeout() - Method in class org.apache.zookeeper.MockZooKeeperSession
 
getState() - Method in class org.apache.zookeeper.MockZooKeeper
 
getState() - Method in class org.apache.zookeeper.MockZooKeeperSession
 
getZkHandle() - Method in class org.apache.bookkeeper.client.BookKeeperTestClient
 
getZkHandle() - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 

I

isClosed() - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 

M

MockZooKeeper - Class in org.apache.zookeeper
 
MockZooKeeper.Op - Enum in org.apache.zookeeper
 
MockZooKeeperSession - Class in org.apache.zookeeper
mock zookeeper with different session based on MockZooKeeper
multi(Iterable<Op>, AsyncCallback.MultiCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
multi(Iterable<Op>) - Method in class org.apache.zookeeper.MockZooKeeper
 
multi(Iterable<Op>, AsyncCallback.MultiCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
multi(Iterable<Op>) - Method in class org.apache.zookeeper.MockZooKeeperSession
 

N

newDeleteLedgerOp() - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
newInstance() - Static method in class org.apache.zookeeper.MockZooKeeper
 
newInstance(ExecutorService) - Static method in class org.apache.zookeeper.MockZooKeeper
 
newInstance(ExecutorService, int) - Static method in class org.apache.zookeeper.MockZooKeeper
 
newInstance(MockZooKeeper) - Static method in class org.apache.zookeeper.MockZooKeeperSession
 
newInstanceForGlobalZK(ExecutorService) - Static method in class org.apache.zookeeper.MockZooKeeper
 
newInstanceForGlobalZK(ExecutorService, int) - Static method in class org.apache.zookeeper.MockZooKeeper
 
newOpenLedgerOp() - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 

O

org.apache.bookkeeper.client - package org.apache.bookkeeper.client
 
org.apache.zookeeper - package org.apache.zookeeper
 

P

promiseAfter(int) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
PulsarMockBookKeeper - Class in org.apache.bookkeeper.client
Mocked version of BookKeeper client that keeps all ledgers data in memory.
PulsarMockBookKeeper(ZooKeeper, ExecutorService) - Constructor for class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
PulsarMockLedgerHandle - Class in org.apache.bookkeeper.client
Mock BK LedgerHandle.
PulsarMockLedgerHandle(PulsarMockBookKeeper, long, BookKeeper.DigestType, byte[]) - Constructor for class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 

R

readAsync(long, long) - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
readBookiesBlocking() - Method in class org.apache.bookkeeper.client.BookKeeperTestClient
Force a read to zookeeper to get list of bookies.
readLastAddConfirmedAndEntryAsync(long, long, boolean) - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
readLastAddConfirmedAsync() - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
readUnconfirmedAsync(long, long) - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 
register(Watcher) - Method in class org.apache.zookeeper.MockZooKeeper
 
register(Watcher) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
returnEmptyLedgerAfter(int) - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
After N times, make a ledger to appear to be empty

S

setAlwaysFail(KeeperException.Code) - Method in class org.apache.zookeeper.MockZooKeeper
 
setAlwaysFail(KeeperException.Code) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
setData(String, byte[], int) - Method in class org.apache.zookeeper.MockZooKeeper
 
setData(String, byte[], int, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
setData(String, byte[], int) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
setData(String, byte[], int, AsyncCallback.StatCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
setSessionId(long) - Method in class org.apache.zookeeper.MockZooKeeper
 
setSessionId(long) - Method in class org.apache.zookeeper.MockZooKeeperSession
 
shutdown() - Method in class org.apache.bookkeeper.client.PulsarMockBookKeeper
 
shutdown() - Method in class org.apache.zookeeper.MockZooKeeper
 
shutdown() - Method in class org.apache.zookeeper.MockZooKeeperSession
 
sync(String, AsyncCallback.VoidCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeper
 
sync(String, AsyncCallback.VoidCallback, Object) - Method in class org.apache.zookeeper.MockZooKeeperSession
 

T

toString() - Method in class org.apache.zookeeper.MockZooKeeper
 
toString() - Method in class org.apache.zookeeper.MockZooKeeperSession
 
tryReadLastAddConfirmedAsync() - Method in class org.apache.bookkeeper.client.PulsarMockLedgerHandle
 

U

unsetAlwaysFail() - Method in class org.apache.zookeeper.MockZooKeeper
 
unsetAlwaysFail() - Method in class org.apache.zookeeper.MockZooKeeperSession
 

V

valueOf(String) - Static method in enum org.apache.zookeeper.MockZooKeeper.Op
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.zookeeper.MockZooKeeper.Op
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G I M N O P R S T U V 
Skip navigation links

Copyright © 2017–2021 Apache Software Foundation. All rights reserved.