Class ManilaAbsoluteLimit

  • All Implemented Interfaces:
    AbsoluteLimit

    public class ManilaAbsoluteLimit
    extends Object
    implements AbsoluteLimit
    Absolute limits contain information about:
    • Total maximum share memory, in GBs.
    • Number of share-networks.
    • Number of share-snapshots.
    • Number of shares.
    • Shares and total used memory, in GBs.
    • Snapshots and total used memory, in GBs.
    Author:
    Daniel Gonzalez Nothnagel
    • Constructor Detail

      • ManilaAbsoluteLimit

        public ManilaAbsoluteLimit()
    • Method Detail

      • getMaxTotalShareGigabytes

        public int getMaxTotalShareGigabytes()
        Specified by:
        getMaxTotalShareGigabytes in interface AbsoluteLimit
        Returns:
        the total number of share gigabytes that are allowed in a project
      • getMaxTotalSnapshotGigabytes

        public int getMaxTotalSnapshotGigabytes()
        Specified by:
        getMaxTotalSnapshotGigabytes in interface AbsoluteLimit
        Returns:
        the total maximum number of snapshot gigabytes that are allowed in a project
      • getMaxTotalShares

        public int getMaxTotalShares()
        Specified by:
        getMaxTotalShares in interface AbsoluteLimit
        Returns:
        the total maximum number of shares that are allowed in a project
      • getMaxTotalShareSnapshots

        public int getMaxTotalShareSnapshots()
        Specified by:
        getMaxTotalShareSnapshots in interface AbsoluteLimit
        Returns:
        the total maximum number of share snapshots that are allowed in a project
      • getMaxTotalShareNetworks

        public int getMaxTotalShareNetworks()
        Specified by:
        getMaxTotalShareNetworks in interface AbsoluteLimit
        Returns:
        the total maximum number of share-networks that are allowed in a project
      • getTotalSharesUsed

        public int getTotalSharesUsed()
        Specified by:
        getTotalSharesUsed in interface AbsoluteLimit
        Returns:
        the total number of created shares in a project
      • getTotalShareSnapshotsUsed

        public int getTotalShareSnapshotsUsed()
        Specified by:
        getTotalShareSnapshotsUsed in interface AbsoluteLimit
        Returns:
        the total number of created share snapshots in a project
      • getTotalShareNetworksUsed

        public int getTotalShareNetworksUsed()
        Specified by:
        getTotalShareNetworksUsed in interface AbsoluteLimit
        Returns:
        the total number if created share-networks in a project
      • getTotalShareGigabytesUsed

        public int getTotalShareGigabytesUsed()
        Specified by:
        getTotalShareGigabytesUsed in interface AbsoluteLimit
        Returns:
        the total number if gigabytes used in aproject by shares
      • getTotalSnapshotGigabytesUsed

        public int getTotalSnapshotGigabytesUsed()
        Specified by:
        getTotalSnapshotGigabytesUsed in interface AbsoluteLimit
        Returns:
        the total number of gigabytes used in a project by snapshots