summaryrefslogtreecommitdiffstats
path: root/persistence/src/main/java/com/yahoo/persistence/spi/Bucket.java
diff options
context:
space:
mode:
Diffstat (limited to 'persistence/src/main/java/com/yahoo/persistence/spi/Bucket.java')
-rw-r--r--persistence/src/main/java/com/yahoo/persistence/spi/Bucket.java30
1 files changed, 0 insertions, 30 deletions
diff --git a/persistence/src/main/java/com/yahoo/persistence/spi/Bucket.java b/persistence/src/main/java/com/yahoo/persistence/spi/Bucket.java
deleted file mode 100644
index ed443fa9100..00000000000
--- a/persistence/src/main/java/com/yahoo/persistence/spi/Bucket.java
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-package com.yahoo.persistence.spi;
-
-import com.yahoo.document.BucketId;
-
-/**
- * @author thomasg
- */
-public class Bucket {
- BucketId bucketId;
- short partitionId;
-
- /**
- * @param partition The partition (i.e. disk) where the bucket is located
- * @param bucketId The bucket id of the bucket
- */
- public Bucket(short partition, BucketId bucketId) {
- this.partitionId = partition;
- this.bucketId = bucketId;
- }
-
- public BucketId getBucketId() { return bucketId; }
-
- public short getPartitionId() { return partitionId; }
-
- @Override
- public String toString() {
- return partitionId + "/" + bucketId;
- }
-}