Yep, I know what the difference is, but it just does not feel very
consistent. (to be honest, I don't know how to improve it:))


On Tue, Jan 14, 2014 at 9:51 AM, Christoph Engelbert <
notifications@github.com> wrote:

> In hazelcast/src/main/java/com/hazelcast/mapreduce/PartitionIdAware.java:
>
> > + * http://www.apache.org/licenses/LICENSE-2.0
> > + *
> > + * Unless required by applicable law or agreed to in writing, software
> > + * distributed under the License is distributed on an "AS IS" BASIS,
> > + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> > + * See the License for the specific language governing permissions and
> > + * limitations under the License.
> > + */
> > +
> > +package com.hazelcast.mapreduce;
> > +
> > +/**
> > + * This interface can be used to mark implementation being aware of the data partition
> > + * it is currently working on.
> > + */
> > +public interface PartitionIdAware {
>
> It is a totally different purpose. This interface set's the partitionid
> inside the implementing class whereas PartitionAware retrieves a partioning
> key from the instance so this interface is more like HazelcastInstanceAware.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/hazelcast/hazelcast/pull/1556/files#r8854526>
> .
>



-- 
“Perfection is achieved, not when there is nothing more to add, but when
there is nothing left to take away.”
Antoine de Saint Exupéry