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

com.bagri.server.hazelcast.task.library.LibraryProcessor Maven / Gradle / Ivy

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

import java.util.Map.Entry;

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

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

public abstract class LibraryProcessor extends EntityProcessor implements EntryProcessor, 
			EntryBackupProcessor {
	
	protected final transient Logger logger = LoggerFactory.getLogger(getClass());
	
	public LibraryProcessor() {
		//
	}
	
	public LibraryProcessor(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