Package | Description |
---|---|
org.corfudb.runtime.view |
Modifier and Type | Method and Description |
---|---|
Layout.LayoutStripe |
Layout.LayoutSegment.getFirstStripe()
Gets the first stripe.
|
Layout.LayoutStripe |
Layout.getStripe(long globalAddress)
Return layout segment stripe.
|
Modifier and Type | Method and Description |
---|---|
long |
Layout.getGlobalAddress(Layout.LayoutStripe stripe,
long localAddress)
Return global address for a given stripe.
|
abstract int |
Layout.ReplicationMode.getMinReplicationFactor(Layout layout,
Layout.LayoutStripe stripe)
Compute the min replication factor for the log unit servers in the replication protocol
for a specific stripe.
|
void |
LayoutBuilder.removeFromStripe(String endpoint,
Layout.LayoutStripe layoutStripe,
int minReplicationFactor)
Remove an endpoint from a segment.
|
Constructor and Description |
---|
LayoutSegment(Layout.ReplicationMode replicationMode,
long start,
long end,
List<Layout.LayoutStripe> stripes)
Constructor Layout Segment, contiguous partition in a Corfu Log.
|
Copyright © 2019 CorfuDB. All rights reserved.