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

com.bagri.server.hazelcast.task.user.UserProcessor Maven / Gradle / Ivy

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

import java.util.Map.Entry;

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

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

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

	public UserProcessor() {
		//
	}
	
	public UserProcessor(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