blob: 3645c1c385d2b880351b944df00bc4e12e8c5be2 [file] [log] [blame]
/*
* Copyright 2012 Paul Merlin.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* 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 org.apache.zest.entitystore.riak;
import org.apache.zest.api.concern.Concerns;
import org.apache.zest.api.configuration.Configuration;
import org.apache.zest.api.mixin.Mixins;
import org.apache.zest.api.service.ServiceActivation;
import org.apache.zest.api.service.ServiceComposite;
import org.apache.zest.library.locking.LockingAbstractComposite;
import org.apache.zest.spi.entitystore.ConcurrentModificationCheckConcern;
import org.apache.zest.spi.entitystore.EntityStateVersions;
import org.apache.zest.spi.entitystore.EntityStore;
import org.apache.zest.spi.entitystore.StateChangeNotificationConcern;
import org.apache.zest.spi.entitystore.helpers.JSONMapEntityStoreActivation;
import org.apache.zest.spi.entitystore.helpers.JSONMapEntityStoreMixin;
import org.apache.zest.spi.entitystore.helpers.MapEntityStoreActivation;
import org.apache.zest.spi.entitystore.helpers.MapEntityStoreMixin;
/**
* Riak EntityStore service.
* <p>Can be used with Riak implementations of MapEntityStore.</p>
* <p>Based on {@link JSONMapEntityStoreMixin}</p>
*/
@Concerns( { StateChangeNotificationConcern.class, ConcurrentModificationCheckConcern.class } )
@Mixins( { JSONMapEntityStoreMixin.class, MapEntityStoreMixin.class } )
public interface RiakMapEntityStoreService
extends EntityStore,
EntityStateVersions,
ServiceComposite,
MapEntityStoreActivation,
JSONMapEntityStoreActivation,
ServiceActivation,
LockingAbstractComposite,
Configuration,
RiakAccessors
{
}