Class SizeRollingPolicy

java.lang.Object
com.gigaspaces.logger.SizeRollingPolicy

public class SizeRollingPolicy extends Object
A rolling policy based on file size limit. If the limit is reached, hasReachedLimit() returns true.
Since:
7.0
Author:
Moran Avigdor
  • Method Details

    • hasReachedLimit

      public boolean hasReachedLimit(File f)
      Parameters:
      f - file to check if reached limit.
      Returns:
      true if reached limit; false otherwise.