02 Sep
02Sep


Provided files represent an implementation of IFederationCapacityAllocator, by which a caller can reserve and release capacity allocations.

CapacityBatchOperationDataProvider.cs 

FederationCapacity.cs 

FederationCapacityAllocator.cs 

IFederationCapacityAllocator.cs 


Questions

  1. Describe the intent of the interface. 
  2. Can you anticipate the requirements/constraints that are shaping the definition of the interface? 
  3. What is the significance of each method? 
  4. Are there alternative implementations to fulfill the same requirement?
  5. There is a bug in the implementation. Can you identify and fix the bug?


Send us responses to JoinSingularity@microsoft.com and you will get a special prize!


Comments
* The email will not be published on the website.