Class DefaultMessageStoreFactory<I extends org.apache.hadoop.io.WritableComparable,​M extends org.apache.hadoop.io.Writable,​GS_VID_T>

    • Constructor Detail

      • DefaultMessageStoreFactory

        public DefaultMessageStoreFactory()
    • Method Detail

      • newStore

        public MessageStore<I,​M,​GS_VID_T> newStore​(org.apache.giraph.conf.MessageClasses<I,​M> messageClasses)
        Creates new message store.
        Specified by:
        newStore in interface MessageStoreFactory<I extends org.apache.hadoop.io.WritableComparable,​M extends org.apache.hadoop.io.Writable,​GS_VID_T>
        Parameters:
        messageClasses - Message classes information to be held in the store
        Returns:
        New message store
      • initialize

        public void initialize​(IFragment fragment,
                               ImmutableClassesGiraphConfiguration<I,​?,​?> conf)
        Implementation class should use this method of initialization of any required internal state.
        Specified by:
        initialize in interface MessageStoreFactory<I extends org.apache.hadoop.io.WritableComparable,​M extends org.apache.hadoop.io.Writable,​GS_VID_T>
        Parameters:
        fragment - fragment used for partition querying
        conf - Configuration