question: public static Integer createServerCache ( ) throws Exception { ClientInterestNotifyDUnitTest test = new ClientInterestNotifyDUnitTest ( ) ; Properties props = new Properties ( ) ; props . setProperty ( DELTA_PROPAGATION , "false" ) ; cacheServer = test . createCache ( props ) ; AttributesFactory factory = new AttributesFactory ( ) ; factory . setScope ( Scope . DISTRIBUTED_ACK ) ; factory . setDataPolicy ( DataPolicy . REPLICATE ) ; factory . setConcurrencyChecksEnabled ( false ) ; RegionAttributes attrs = factory . create ( ) ; cacheServer . createRegion ( REGION_NAME1 , attrs ) ; cacheServer . createRegion ( REGION_NAME2 , attrs ) ; cacheServer . createRegion ( REGION_NAME3 , attrs ) ; CacheServer server = cacheServer . addCacheServer ( ) ; int port = AvailablePort . getRandomAvailablePort ( AvailablePort . SOCKET ) ; server . setPort ( port ) ; server . setNotifyBySubscription ( true ) ; server . setSocketBufferSize ( 32768 ) ; server . start ( ) ; return new Integer ( server . getPort ( ) ) ; }
target:  create a server cache and start the server