Class LocalhostSplitFactory

  • All Implemented Interfaces:
    SplitFactory

    public final class LocalhostSplitFactory
    extends Object
    implements SplitFactory
    An implementation of SplitClient that considers all partitions passed in the constructor to be 100% on for all users, and any other split to be 100% off for all users. This implementation is useful for using Split in localhost environment. The startup order is as follows: - Split will use config.splitFile (full path) if set and will look for a yaml (new) format. - otherwise Split will look for $user.home/.split file if it exists (for backward compatibility with older versions)