func (cache *Cache) EvictionPolicy() EvictionPolicy {
	return cache.evictionPolicy
}
EvictionPolicy returns the EvictionPolicy of the Cache
package gocache
import (
	"errors"
	"reflect"
	"sync"
	"time"
)
var (
	Debug = false
)
const (
	NoMaxSize = 0
	NoMaxMemoryUsage = 0
	DefaultMaxSize = 100000
	NoExpiration = -1
	Kilobyte = 1024
	Megabyte = 1024 * Kilobyte
	Gigabyte = 1024 * Megabyte
)
var (
	ErrKeyDoesNotExist       = errors.New("key does not exist")          
	ErrKeyHasNoExpiration    = errors.New("key has no expiration")       
	ErrJanitorAlreadyRunning = errors.New("janitor is already running")  
)
type Cache struct {
	maxSize int
	maxMemoryUsage int
	evictionPolicy EvictionPolicy
	stats *Statistics
	entries map[string]*Entry
	mutex sync.RWMutex
	head *Entry
	tail *Entry
	stopJanitor chan bool
	memoryUsage int
	forceNilInterfaceOnNilPointer bool
}
func (cache *Cache) MaxSize() int {
	return cache.maxSize
}
func (cache *Cache) MaxMemoryUsage() int {
	return cache.maxMemoryUsage
}