// The default partition size of a partition is 50% of the total
// size of the partition, or a minimum of 1.
int defaultPartitionSize = Math.max(totalSize / 2, 1);
PolicyCachePartitionConstraints partitionConstraints
= new PolicyCachePartitionConstraintsImpl(maxPartitionSize,
defaultPartitionSize, cacheControlConstraints);
return partitionConstraints;
}