- public static class BucketStoreMessages{
-
- public static class GetLocalBucket implements Serializable{}
-
- public static class ContainsBucket implements Serializable {
- final private Bucket bucket;
-
- public ContainsBucket(Bucket bucket){
- Preconditions.checkArgument(bucket != null, "bucket can not be null");
- this.bucket = bucket;
- }
-
- public Bucket getBucket(){
- return bucket;
- }
-
- }
-
- public static class UpdateBucket extends ContainsBucket implements Serializable {
- public UpdateBucket(Bucket bucket){
- super(bucket);
- }
- }