public class LedgerFragment extends Object
Modifier and Type | Method and Description |
---|---|
org.apache.bookkeeper.net.BookieSocketAddress |
getAddress()
Gets the failedBookie address
|
int |
getBookiesIndex()
Gets the failedBookie index
|
List<org.apache.bookkeeper.net.BookieSocketAddress> |
getEnsemble()
Gets the ensemble of fragment
|
long |
getFirstStoredEntryId()
Gets the first stored entry id of the fragment in failed bookie.
|
long |
getLastStoredEntryId()
Gets the last stored entry id of the fragment in failed bookie.
|
boolean |
isClosed()
Returns true, if and only if the ledger fragment will never be modified
by any of the clients in future, otherwise false.
|
String |
toString() |
public boolean isClosed()
public org.apache.bookkeeper.net.BookieSocketAddress getAddress()
public int getBookiesIndex()
public long getFirstStoredEntryId()
public long getLastStoredEntryId()
public List<org.apache.bookkeeper.net.BookieSocketAddress> getEnsemble()
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.