Delete obsolete corrupted source files

This commit is contained in:
Yuriy Artamonov 2011-05-05 15:39:32 +00:00
parent e8ed11b0c5
commit 53e843be58
4 changed files with 0 additions and 105 deletions

View File

@ -1,31 +0,0 @@
/*
* Copyright (c) 2011 Haulmont Technology Ltd. All Rights Reserved.
* Haulmont Technology proprietary and confidential.
* Use is subject to license terms.
*/
package com.haulmont.cuba.core.app.cache;
/**
* <p>$Id$</p>
*
* @author artamonov
*/
public class CacheException extends Exception {
private static final long serialVersionUID = 5306831032981161592L;
public CacheException() {
}
public CacheException(String message) {
super(message);
}
public CacheException(String message, Throwable cause) {
super(message, cause);
}
public CacheException(Throwable cause) {
super(cause);
}
}

View File

@ -1,19 +0,0 @@
/*
* Copyright (c) 2011 Haulmont Technology Ltd. All Rights Reserved.
* Haulmont Technology proprietary and confidential.
* Use is subject to license terms.
*/
package com.haulmont.cuba.core.app.cache;
import java.util.Collection;
/**
* Select items from CacheSet
* <p>$Id$</p>
*
* @author artamonov
*/
public interface CacheSelector {
Collection select(CacheSet cacheSet);
}

View File

@ -1,40 +0,0 @@
/*
* Copyright (c) 2011 Haulmont Technology Ltd. All Rights Reserved.
* Haulmont Technology proprietary and confidential.
* Use is subject to license terms.
*/
package com.haulmont.cuba.core.app.cache;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.Predicate;
import java.util.Collection;
/**
* Items set for ObjectsCache
* <p>$Id$</p>
*
* @author artamonov
*/
public class CacheSet {
private Collection items;
public CacheSet(Collection items) {
this.items = items;
}
public Collection getItems() {
return items;
}
public CacheSet query(Predicate selector) {
CacheSet resultSet;
if (selector != null) {
Collection setItems = CollectionUtils.select(items, selector);
resultSet = new CacheSet(setItems);
} else
resultSet = new CacheSet(items);
return resultSet;
}
}

View File

@ -1,15 +0,0 @@
/*
* Copyright (c) 2011 Haulmont Technology Ltd. All Rights Reserved.
* Haulmont Technology proprietary and confidential.
* Use is subject to license terms.
*/
package com.haulmont.cuba.core.app.cache;
/**
* <p>$Id$</p>
*
* @author artamonov
*/
public class CacheStatistics {
}