All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bagri.server.hazelcast.task.role.RoleProcessor Maven / Gradle / Ivy

The newest version!
package com.bagri.server.hazelcast.task.role;

import java.util.Map.Entry;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.bagri.core.system.Role;
import com.bagri.server.hazelcast.task.EntityProcessor;
import com.hazelcast.map.EntryBackupProcessor;
import com.hazelcast.map.EntryProcessor;

public abstract class RoleProcessor extends EntityProcessor implements EntryProcessor, 
	EntryBackupProcessor {
	
	protected final transient Logger logger = LoggerFactory.getLogger(getClass());

	public RoleProcessor() {
		//
	}

	public RoleProcessor(int version, String admin) {
		super(version, admin);
	}

	@Override
	public void processBackup(Entry entry) {
		process(entry);		
	}

	@Override
	public EntryBackupProcessor getBackupProcessor() {
		return this;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy