| Package | Description |
|---|---|
| com.ceph.rbd |
| Modifier and Type | Method and Description |
|---|---|
void |
Rbd.clone(String parentImage,
String parentSnap,
IoCTX childIo,
String childName,
long features,
int order)
Clone a RBD image
|
void |
Rbd.clone(String parentImage,
String parentSnap,
IoCTX childIo,
String childName,
long features,
int order,
long stripe_unit,
long stripe_count)
Clone a RBD image
|
void |
Rbd.close(RbdImage image)
Close a RBD image
|
void |
Rbd.copy(RbdImage sourceImage,
RbdImage destImage)
Copy a RBD image
|
void |
Rbd.create(String name,
long size)
Create a new RBD image
|
void |
Rbd.create(String name,
long size,
int order)
Create a new RBD image
|
void |
Rbd.create(String name,
long size,
long features)
Create a new RBD v2 image
|
void |
Rbd.create(String name,
long size,
long features,
int order)
Create a new RBD v2 image
|
void |
Rbd.create(String name,
long size,
long features,
int order,
long stripe_unit,
long stripe_count)
Create a new RBD v2 image
|
void |
RbdImage.flatten() |
boolean |
RbdImage.isOldFormat()
Find out if the format of the RBD image is the old format
or not
|
String[] |
Rbd.list()
List all RBD images in this pool
|
String[] |
Rbd.list(int initialBufferSize)
List all RBD images in this pool
|
List<String> |
RbdImage.listChildren(String snapname)
List children of a snapshot
|
RbdImage |
Rbd.open(String name)
Open a RBD image
|
RbdImage |
Rbd.open(String name,
String snapName)
Open a RBD image with a specific snapshot
|
RbdImage |
Rbd.openReadOnly(String name)
Open a RBD image read only
|
RbdImage |
Rbd.openReadOnly(String name,
String snapName)
Open a RBD image with a specific snapshot read only
|
void |
Rbd.remove(String name)
Remove a RBD image
|
void |
Rbd.rename(String srcName,
String destName)
Rename a RBD image
|
void |
RbdImage.resize(long size)
Resize an RBD image
|
void |
RbdImage.snapCreate(String snapName)
Create a RBD snapshot
|
boolean |
RbdImage.snapIsProtected(String snapName)
Tells if a snapshot is protected or not
|
List<RbdSnapInfo> |
RbdImage.snapList()
List all snapshots
|
List<RbdSnapInfo> |
RbdImage.snapList(int initialBufferSize)
List all snapshots
|
void |
RbdImage.snapProtect(String snapName)
Protect a snapshot
|
void |
RbdImage.snapRemove(String snapName)
Remove a RBD snapshot
|
void |
RbdImage.snapUnprotect(String snapName)
Unprotect a RBD snapshot
|
RbdImageInfo |
RbdImage.stat()
Get information about a RBD image
|
void |
RbdImage.write(byte[] data)
Write data to an RBD image
|
void |
RbdImage.write(byte[] data,
long offset)
Write data to an RBD image
|
void |
RbdImage.write(byte[] data,
long offset,
int length)
Write data to an RBD image
|
Copyright © 2015. All rights reserved.